8171134: Unexpected output in compiler/aot/SharedUsageTest.java
Summary: switch off compressed oops for few AOT tests.
Reviewed-by: iveresov
--- a/hotspot/test/compiler/aot/DeoptimizationTest.java Mon Dec 12 15:41:50 2016 -0500
+++ b/hotspot/test/compiler/aot/DeoptimizationTest.java Mon Dec 12 20:48:50 2016 -0800
@@ -33,7 +33,9 @@
* @run main compiler.aot.AotCompiler -libname libDeoptimizationTest.so
* -class compiler.aot.DeoptimizationTest
* -compile compiler.aot.DeoptimizationTest.testMethod()D
+ * -extraopt -XX:-UseCompressedOops
* @run main/othervm -Xmixed -XX:+UseAOT -XX:+TieredCompilation
+ * -XX:-UseCompressedOops
* -XX:CompileCommand=dontinline,compiler.aot.DeoptimizationTest::*
* -XX:AOTLibrary=./libDeoptimizationTest.so -Xbootclasspath/a:.
* -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
--- a/hotspot/test/compiler/aot/RecompilationTest.java Mon Dec 12 15:41:50 2016 -0500
+++ b/hotspot/test/compiler/aot/RecompilationTest.java Mon Dec 12 20:48:50 2016 -0800
@@ -34,7 +34,9 @@
* -class compiler.whitebox.SimpleTestCaseHelper
* -extraopt -Dgraal.TieredAOT=true -extraopt -Dgraal.ProfileSimpleMethods=true
* -extraopt -XX:+UnlockDiagnosticVMOptions -extraopt -XX:+WhiteBoxAPI -extraopt -Xbootclasspath/a:.
- * @run main/othervm -Xmixed -Xbatch -XX:+UseAOT -XX:+TieredCompilation -XX:-UseCounterDecay
+ * -extraopt -XX:-UseCompressedOops
+ * @run main/othervm -Xmixed -Xbatch -XX:+UseAOT -XX:+TieredCompilation
+ * -XX:-UseCounterDecay -XX:-UseCompressedOops
* -XX:CompileCommand=dontinline,*.*
* -XX:AOTLibrary=./libRecompilationTest.so -Xbootclasspath/a:.
* -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
--- a/hotspot/test/compiler/aot/SharedUsageTest.java Mon Dec 12 15:41:50 2016 -0500
+++ b/hotspot/test/compiler/aot/SharedUsageTest.java Mon Dec 12 20:48:50 2016 -0800
@@ -30,7 +30,9 @@
* compiler.aot.AotCompiler
* @run main compiler.aot.AotCompiler -libname libSharedUsageTest.so
* -class compiler.aot.SharedUsageTest
+ * -extraopt -XX:-UseCompressedOops
* @run main/othervm -XX:+UseAOT -XX:AOTLibrary=./libSharedUsageTest.so
+ * -XX:-UseCompressedOops
* -Dcompiler.aot.SharedUsageTest.parent=true
* compiler.aot.SharedUsageTest
* @summary check if .so can be successfully shared with 2 java processes