8204168: Increase small heap sizes in tests to accommodate ZGC
authorstefank
Tue, 05 Jun 2018 15:56:21 +0200
changeset 50407 3dfdcca00ecc
parent 50406 314af5e1e787
child 50408 a5fc0fb1d31d
8204168: Increase small heap sizes in tests to accommodate ZGC Reviewed-by: pliden, ehelin
test/hotspot/jtreg/compiler/c2/Test6910605_2.java
test/hotspot/jtreg/compiler/c2/Test7199742.java
test/hotspot/jtreg/compiler/c2/Test8002069.java
test/hotspot/jtreg/compiler/c2/Test8004741.java
test/hotspot/jtreg/compiler/c2/cr6340864/TestByteVect.java
test/hotspot/jtreg/compiler/c2/cr6340864/TestDoubleVect.java
test/hotspot/jtreg/compiler/c2/cr6340864/TestFloatVect.java
test/hotspot/jtreg/compiler/c2/cr6340864/TestIntVect.java
test/hotspot/jtreg/compiler/c2/cr6340864/TestLongVect.java
test/hotspot/jtreg/compiler/c2/cr6340864/TestShortVect.java
test/hotspot/jtreg/compiler/c2/cr7192963/TestByteVect.java
test/hotspot/jtreg/compiler/c2/cr7192963/TestDoubleVect.java
test/hotspot/jtreg/compiler/c2/cr7192963/TestFloatVect.java
test/hotspot/jtreg/compiler/c2/cr7192963/TestIntVect.java
test/hotspot/jtreg/compiler/c2/cr7192963/TestLongVect.java
test/hotspot/jtreg/compiler/c2/cr7192963/TestShortVect.java
test/hotspot/jtreg/compiler/ciReplay/CiReplayBase.java
test/hotspot/jtreg/compiler/codegen/Test6942326.java
test/hotspot/jtreg/compiler/codegen/TestCharVect2.java
test/hotspot/jtreg/compiler/intrinsics/Test8005419.java
test/hotspot/jtreg/compiler/runtime/Test7196199.java
test/hotspot/jtreg/compiler/runtime/Test8010927.java
test/hotspot/jtreg/gc/TestBigObj.java
test/hotspot/jtreg/gc/TestNUMAPageSize.java
test/hotspot/jtreg/runtime/ErrorHandling/CreateCoredumpOnCrash.java
test/hotspot/jtreg/runtime/ErrorHandling/TestCrashOnOutOfMemoryError.java
test/hotspot/jtreg/runtime/ErrorHandling/TestExitOnOutOfMemoryError.java
test/hotspot/jtreg/runtime/InternalApi/ThreadCpuTimesDeadlock.java
test/hotspot/jtreg/runtime/Safepoint/AssertSafepointCheckConsistency1.java
test/hotspot/jtreg/runtime/Safepoint/AssertSafepointCheckConsistency2.java
test/hotspot/jtreg/runtime/Unsafe/RangeCheck.java
test/hotspot/jtreg/runtime/logging/ClassInitializationTest.java
test/hotspot/jtreg/runtime/logging/ProtectionDomainVerificationTest.java
test/hotspot/jtreg/runtime/logging/VMOperationTest.java
test/hotspot/jtreg/runtime/memory/MultiAllocateNullCheck.java
test/hotspot/jtreg/runtime/memory/ReadFromNoaccessArea.java
test/hotspot/jtreg/runtime/memory/ReserveMemory.java
test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/disableCollection/disablecollection002/TestDescription.java
test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/referringObjects/referringObjects002/referringObjects002.java
test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/referringObjects/referringObjects003/referringObjects003.java
test/hotspot/jtreg/vmTestbase/nsk/jdi/ReferenceType/instances/instances001/instances001.java
test/hotspot/jtreg/vmTestbase/nsk/jdi/VMOutOfMemoryException/VMOutOfMemoryException001/VMOutOfMemoryException001.java
test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/instanceCounts/instancecounts002/TestDescription.java
test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/instanceCounts/instancecounts003/instancecounts003.java
test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/instanceCounts/instancecounts004/instancecounts004.java
test/hotspot/jtreg/vmTestbase/nsk/jdi/stress/serial/heapwalking001/TestDescription.java
test/hotspot/jtreg/vmTestbase/nsk/jdi/stress/serial/heapwalking002/TestDescription.java
test/hotspot/jtreg/vmTestbase/nsk/jdi/stress/serial/mixed001/TestDescription.java
test/hotspot/jtreg/vmTestbase/nsk/jdi/stress/serial/mixed002/TestDescription.java
test/hotspot/jtreg/vmTestbase/nsk/jdwp/ObjectReference/ReferringObjects/referringObjects001/referringObjects001.java
test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/func/regression/b7127687/TestDescription.java
--- a/test/hotspot/jtreg/compiler/c2/Test6910605_2.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/c2/Test6910605_2.java	Tue Jun 05 15:56:21 2018 +0200
@@ -26,7 +26,7 @@
  * @bug 6910605
  * @summary C2: NullPointerException/ClassCaseException is thrown when C2 with DeoptimizeALot is used
  *
- * @run main/othervm -Xmx64m -XX:+IgnoreUnrecognizedVMOptions -XX:+DeoptimizeALot
+ * @run main/othervm -Xmx128m -XX:+IgnoreUnrecognizedVMOptions -XX:+DeoptimizeALot
  *      -XX:+DoEscapeAnalysis -Xbatch -XX:InlineSmallCode=2000
  *      compiler.c2.Test6910605_2
  */
--- a/test/hotspot/jtreg/compiler/c2/Test7199742.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/c2/Test7199742.java	Tue Jun 05 15:56:21 2018 +0200
@@ -26,7 +26,7 @@
  * @bug 7199742
  * @summary A lot of C2 OSR compilations of the same method's bci
  *
- * @run main/othervm -Xmx32m -Xbatch compiler.c2.Test7199742
+ * @run main/othervm -Xmx128m -Xbatch compiler.c2.Test7199742
  */
 
 package compiler.c2;
@@ -54,4 +54,3 @@
         return v;
     }
 }
-
--- a/test/hotspot/jtreg/compiler/c2/Test8002069.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/c2/Test8002069.java	Tue Jun 05 15:56:21 2018 +0200
@@ -26,7 +26,7 @@
  * @bug 8002069
  * @summary Assert failed in C2: assert(field->edge_count() > 0) failed: sanity
  *
- * @run main/othervm -Xmx32m -XX:+IgnoreUnrecognizedVMOptions -Xbatch
+ * @run main/othervm -Xmx128m -XX:+IgnoreUnrecognizedVMOptions -Xbatch
  *      -XX:CompileCommand=exclude,compiler.c2.Test8002069::dummy
  *      compiler.c2.Test8002069
  */
@@ -109,4 +109,3 @@
         return i * 2;
     }
 }
-
--- a/test/hotspot/jtreg/compiler/c2/Test8004741.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/c2/Test8004741.java	Tue Jun 05 15:56:21 2018 +0200
@@ -27,11 +27,11 @@
  * @summary Missing compiled exception handle table entry for multidimensional array allocation
  *
  * @requires !vm.graal.enabled
- * @run main/othervm -Xmx64m -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions
+ * @run main/othervm -Xmx128m -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions
  *    -XX:-TieredCompilation -XX:+StressCompiledExceptionHandlers
  *    -XX:+SafepointALot -XX:GuaranteedSafepointInterval=100
  *    compiler.c2.Test8004741
- * @run main/othervm -Xmx64m -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions
+ * @run main/othervm -Xmx128m -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions
  *    -XX:-TieredCompilation -XX:+StressCompiledExceptionHandlers
  *    compiler.c2.Test8004741
  */
--- a/test/hotspot/jtreg/compiler/c2/cr6340864/TestByteVect.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/c2/cr6340864/TestByteVect.java	Tue Jun 05 15:56:21 2018 +0200
@@ -26,7 +26,7 @@
  * @bug 6340864
  * @summary Implement vectorization optimizations in hotspot-server
  *
- * @run main/othervm/timeout=400 -Xbatch -Xmx64m compiler.c2.cr6340864.TestByteVect
+ * @run main/othervm/timeout=400 -Xbatch -Xmx128m compiler.c2.cr6340864.TestByteVect
  */
 
 package compiler.c2.cr6340864;
--- a/test/hotspot/jtreg/compiler/c2/cr6340864/TestDoubleVect.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/c2/cr6340864/TestDoubleVect.java	Tue Jun 05 15:56:21 2018 +0200
@@ -26,7 +26,7 @@
  * @bug 6340864
  * @summary Implement vectorization optimizations in hotspot-server
  *
- * @run main/othervm/timeout=400 -Xbatch -Xmx64m compiler.c2.cr6340864.TestDoubleVect
+ * @run main/othervm/timeout=400 -Xbatch -Xmx128m compiler.c2.cr6340864.TestDoubleVect
  */
 
 package compiler.c2.cr6340864;
--- a/test/hotspot/jtreg/compiler/c2/cr6340864/TestFloatVect.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/c2/cr6340864/TestFloatVect.java	Tue Jun 05 15:56:21 2018 +0200
@@ -26,7 +26,7 @@
  * @bug 6340864
  * @summary Implement vectorization optimizations in hotspot-server
  *
- * @run main/othervm/timeout=400 -Xbatch -Xmx64m compiler.c2.cr6340864.TestFloatVect
+ * @run main/othervm/timeout=400 -Xbatch -Xmx128m compiler.c2.cr6340864.TestFloatVect
  */
 
 package compiler.c2.cr6340864;
--- a/test/hotspot/jtreg/compiler/c2/cr6340864/TestIntVect.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/c2/cr6340864/TestIntVect.java	Tue Jun 05 15:56:21 2018 +0200
@@ -26,7 +26,7 @@
  * @bug 6340864
  * @summary Implement vectorization optimizations in hotspot-server
  *
- * @run main/othervm/timeout=400 -Xbatch -Xmx64m compiler.c2.cr6340864.TestIntVect
+ * @run main/othervm/timeout=400 -Xbatch -Xmx128m compiler.c2.cr6340864.TestIntVect
  */
 
 package compiler.c2.cr6340864;
--- a/test/hotspot/jtreg/compiler/c2/cr6340864/TestLongVect.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/c2/cr6340864/TestLongVect.java	Tue Jun 05 15:56:21 2018 +0200
@@ -26,7 +26,7 @@
  * @bug 6340864
  * @summary Implement vectorization optimizations in hotspot-server
  *
- * @run main/othervm/timeout=400 -Xbatch -Xmx64m compiler.c2.cr6340864.TestLongVect
+ * @run main/othervm/timeout=400 -Xbatch -Xmx128m compiler.c2.cr6340864.TestLongVect
  */
 
 package compiler.c2.cr6340864;
--- a/test/hotspot/jtreg/compiler/c2/cr6340864/TestShortVect.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/c2/cr6340864/TestShortVect.java	Tue Jun 05 15:56:21 2018 +0200
@@ -26,7 +26,7 @@
  * @bug 6340864
  * @summary Implement vectorization optimizations in hotspot-server
  *
- * @run main/othervm/timeout=400 -Xbatch -Xmx64m compiler.c2.cr6340864.TestShortVect
+ * @run main/othervm/timeout=400 -Xbatch -Xmx128m compiler.c2.cr6340864.TestShortVect
  */
 
 package compiler.c2.cr6340864;
--- a/test/hotspot/jtreg/compiler/c2/cr7192963/TestByteVect.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/c2/cr7192963/TestByteVect.java	Tue Jun 05 15:56:21 2018 +0200
@@ -26,7 +26,7 @@
  * @bug 7192963
  * @summary assert(_in[req-1] == this) failed: Must pass arg count to 'new'
  *
- * @run main/othervm/timeout=400 -Xbatch -Xmx64m compiler.c2.cr7192963.TestByteVect
+ * @run main/othervm/timeout=400 -Xbatch -Xmx128m compiler.c2.cr7192963.TestByteVect
  */
 
 package compiler.c2.cr7192963;
@@ -201,4 +201,3 @@
     return 0;
   }
 }
-
--- a/test/hotspot/jtreg/compiler/c2/cr7192963/TestDoubleVect.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/c2/cr7192963/TestDoubleVect.java	Tue Jun 05 15:56:21 2018 +0200
@@ -26,7 +26,7 @@
  * @bug 7192963
  * @summary assert(_in[req-1] == this) failed: Must pass arg count to 'new'
  *
- * @run main/othervm/timeout=400 -Xbatch -Xmx64m compiler.c2.cr7192963.TestDoubleVect
+ * @run main/othervm/timeout=400 -Xbatch -Xmx128m compiler.c2.cr7192963.TestDoubleVect
  */
 
 package compiler.c2.cr7192963;
@@ -201,4 +201,3 @@
     return 0;
   }
 }
-
--- a/test/hotspot/jtreg/compiler/c2/cr7192963/TestFloatVect.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/c2/cr7192963/TestFloatVect.java	Tue Jun 05 15:56:21 2018 +0200
@@ -26,7 +26,7 @@
  * @bug 7192963
  * @summary assert(_in[req-1] == this) failed: Must pass arg count to 'new'
  *
- * @run main/othervm/timeout=400 -Xbatch -Xmx64m compiler.c2.cr7192963.TestFloatVect
+ * @run main/othervm/timeout=400 -Xbatch -Xmx128m compiler.c2.cr7192963.TestFloatVect
  */
 
 package compiler.c2.cr7192963;
@@ -201,4 +201,3 @@
     return 0;
   }
 }
-
--- a/test/hotspot/jtreg/compiler/c2/cr7192963/TestIntVect.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/c2/cr7192963/TestIntVect.java	Tue Jun 05 15:56:21 2018 +0200
@@ -26,7 +26,7 @@
  * @bug 7192963
  * @summary assert(_in[req-1] == this) failed: Must pass arg count to 'new'
  *
- * @run main/othervm/timeout=400 -Xbatch -Xmx64m compiler.c2.cr7192963.TestIntVect
+ * @run main/othervm/timeout=400 -Xbatch -Xmx128m compiler.c2.cr7192963.TestIntVect
  */
 
 package compiler.c2.cr7192963;
@@ -201,4 +201,3 @@
     return 0;
   }
 }
-
--- a/test/hotspot/jtreg/compiler/c2/cr7192963/TestLongVect.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/c2/cr7192963/TestLongVect.java	Tue Jun 05 15:56:21 2018 +0200
@@ -26,7 +26,7 @@
  * @bug 7192963
  * @summary assert(_in[req-1] == this) failed: Must pass arg count to 'new'
  *
- * @run main/othervm/timeout=400 -Xbatch -Xmx64m compiler.c2.cr7192963.TestLongVect
+ * @run main/othervm/timeout=400 -Xbatch -Xmx128m compiler.c2.cr7192963.TestLongVect
  */
 
 package compiler.c2.cr7192963;
@@ -201,4 +201,3 @@
     return 0;
   }
 }
-
--- a/test/hotspot/jtreg/compiler/c2/cr7192963/TestShortVect.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/c2/cr7192963/TestShortVect.java	Tue Jun 05 15:56:21 2018 +0200
@@ -26,7 +26,7 @@
  * @bug 7192963
  * @summary assert(_in[req-1] == this) failed: Must pass arg count to 'new'
  *
- * @run main/othervm/timeout=400 -Xbatch -Xmx64m compiler.c2.cr7192963.TestShortVect
+ * @run main/othervm/timeout=400 -Xbatch -Xmx128m compiler.c2.cr7192963.TestShortVect
  */
 
 package compiler.c2.cr7192963;
@@ -201,4 +201,3 @@
     return 0;
   }
 }
-
--- a/test/hotspot/jtreg/compiler/ciReplay/CiReplayBase.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/ciReplay/CiReplayBase.java	Tue Jun 05 15:56:21 2018 +0200
@@ -61,7 +61,7 @@
     private static final String HS_ERR_NAME = "hs_err_pid";
     private static final String RUN_SHELL_ZERO_LIMIT = "ulimit -S -c 0 && ";
     private static final String VERSION_OPTION = "-version";
-    private static final String[] REPLAY_GENERATION_OPTIONS = new String[]{"-Xms8m", "-Xmx32m",
+    private static final String[] REPLAY_GENERATION_OPTIONS = new String[]{"-Xms128m", "-Xmx128m",
         "-XX:MetaspaceSize=4m", "-XX:MaxMetaspaceSize=16m", "-XX:InitialCodeCacheSize=512k",
         "-XX:ReservedCodeCacheSize=4m", "-XX:ThreadStackSize=512", "-XX:VMThreadStackSize=512",
         "-XX:CompilerThreadStackSize=512", "-XX:ParallelGCThreads=1", "-XX:CICompilerCount=2",
--- a/test/hotspot/jtreg/compiler/codegen/Test6942326.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/codegen/Test6942326.java	Tue Jun 05 15:56:21 2018 +0200
@@ -26,7 +26,7 @@
  * @bug 6942326
  * @summary x86 code in string_indexof() could read beyond reserved heap space
  *
- * @run main/othervm/timeout=300 -Xmx32m -Xbatch -XX:+IgnoreUnrecognizedVMOptions
+ * @run main/othervm/timeout=300 -Xmx128m -Xbatch -XX:+IgnoreUnrecognizedVMOptions
  *      -XX:CompileCommand=exclude,compiler.codegen.Test6942326::main
  *      -XX:CompileCommand=exclude,compiler.codegen.Test6942326::test_varsub_indexof
  *      -XX:CompileCommand=exclude,compiler.codegen.Test6942326::test_varstr_indexof
@@ -414,4 +414,3 @@
         public int indexOf(String str) { return str.indexOf(constr); }
     }
 }
-
--- a/test/hotspot/jtreg/compiler/codegen/TestCharVect2.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/codegen/TestCharVect2.java	Tue Jun 05 15:56:21 2018 +0200
@@ -26,7 +26,7 @@
  * @bug 8001183
  * @summary incorrect results of char vectors right shift operaiton
  *
- * @run main/othervm/timeout=400 -Xbatch -Xmx64m compiler.codegen.TestCharVect2
+ * @run main/othervm/timeout=400 -Xbatch -Xmx128m compiler.codegen.TestCharVect2
  */
 
 package compiler.codegen;
--- a/test/hotspot/jtreg/compiler/intrinsics/Test8005419.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/intrinsics/Test8005419.java	Tue Jun 05 15:56:21 2018 +0200
@@ -26,7 +26,7 @@
  * @bug 8005419
  * @summary Improve intrinsics code performance on x86 by using AVX2
  *
- * @run main/othervm -Xbatch -Xmx64m compiler.intrinsics.Test8005419
+ * @run main/othervm -Xbatch -Xmx128m compiler.intrinsics.Test8005419
  */
 
 package compiler.intrinsics;
--- a/test/hotspot/jtreg/compiler/runtime/Test7196199.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/runtime/Test7196199.java	Tue Jun 05 15:56:21 2018 +0200
@@ -26,7 +26,7 @@
  * @bug 7196199
  * @summary java/text/Bidi/Bug6665028.java failed: Bidi run count incorrect
  *
- * @run main/othervm/timeout=400 -Xmx32m -Xbatch -XX:+IgnoreUnrecognizedVMOptions
+ * @run main/othervm/timeout=400 -Xmx128m -Xbatch -XX:+IgnoreUnrecognizedVMOptions
  *      -XX:+UnlockDiagnosticVMOptions -XX:-TieredCompilation
  *      -XX:+SafepointALot -XX:GuaranteedSafepointInterval=100
  *      -XX:CompileCommand=exclude,compiler.runtime.Test7196199::test
@@ -194,4 +194,3 @@
         return 0;
     }
 }
-
--- a/test/hotspot/jtreg/compiler/runtime/Test8010927.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/compiler/runtime/Test8010927.java	Tue Jun 05 15:56:21 2018 +0200
@@ -31,7 +31,7 @@
  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+IgnoreUnrecognizedVMOptions
- *                   -XX:+WhiteBoxAPI -Xbootclasspath/a:. -Xmx64m -XX:NewSize=20971520
+ *                   -XX:+WhiteBoxAPI -Xbootclasspath/a:. -Xmx128m -XX:NewSize=20971520
  *                   -XX:MaxNewSize=32m -XX:-UseTLAB -XX:-UseAdaptiveSizePolicy
  *                   compiler.runtime.Test8010927
  */
--- a/test/hotspot/jtreg/gc/TestBigObj.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/gc/TestBigObj.java	Tue Jun 05 15:56:21 2018 +0200
@@ -25,7 +25,7 @@
  * @test TestBigObj
  * @bug 6845368
  * @summary ensure gc updates references > 64K bytes from the start of the obj
- * @run main/othervm/timeout=720 -Xmx64m -verbose:gc TestBigObj
+ * @run main/othervm/timeout=720 -Xmx256m -verbose:gc TestBigObj
  */
 
 // Allocate an object with a block of reference fields that starts more
--- a/test/hotspot/jtreg/gc/TestNUMAPageSize.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/gc/TestNUMAPageSize.java	Tue Jun 05 15:56:21 2018 +0200
@@ -27,7 +27,7 @@
  * @summary Make sure that start up with NUMA support does not cause problems.
  * @bug 8061467
  * @requires (vm.opt.AggressiveOpts == null) | (vm.opt.AggressiveOpts == false)
- * @run main/othervm -Xmx8M -XX:+UseNUMA TestNUMAPageSize
+ * @run main/othervm -Xmx128m -XX:+UseNUMA TestNUMAPageSize
  */
 
 public class TestNUMAPageSize {
--- a/test/hotspot/jtreg/runtime/ErrorHandling/CreateCoredumpOnCrash.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/runtime/ErrorHandling/CreateCoredumpOnCrash.java	Tue Jun 05 15:56:21 2018 +0200
@@ -57,7 +57,7 @@
     public static OutputAnalyzer runTest(String option) throws Exception {
         return new OutputAnalyzer(
             ProcessTools.createJavaProcessBuilder(
-            "-Xmx64m", "-XX:-TransmitErrorReport", "--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED", option, Crasher.class.getName())
+            "-Xmx128m", "-XX:-TransmitErrorReport", "--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED", option, Crasher.class.getName())
             .start());
     }
 }
--- a/test/hotspot/jtreg/runtime/ErrorHandling/TestCrashOnOutOfMemoryError.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/runtime/ErrorHandling/TestCrashOnOutOfMemoryError.java	Tue Jun 05 15:56:21 2018 +0200
@@ -53,7 +53,7 @@
         }
         // else this is the main test
         ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+CrashOnOutOfMemoryError",
-                 "-XX:-CreateCoredumpOnCrash", "-Xmx64m", TestCrashOnOutOfMemoryError.class.getName(),"throwOOME");
+                 "-XX:-CreateCoredumpOnCrash", "-Xmx128m", TestCrashOnOutOfMemoryError.class.getName(),"throwOOME");
         OutputAnalyzer output = new OutputAnalyzer(pb.start());
         int exitValue = output.getExitValue();
         if (0 == exitValue) {
--- a/test/hotspot/jtreg/runtime/ErrorHandling/TestExitOnOutOfMemoryError.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/runtime/ErrorHandling/TestExitOnOutOfMemoryError.java	Tue Jun 05 15:56:21 2018 +0200
@@ -49,7 +49,7 @@
 
         // else this is the main test
         ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+ExitOnOutOfMemoryError",
-                "-Xmx64m", TestExitOnOutOfMemoryError.class.getName(), "throwOOME");
+                "-Xmx128m", TestExitOnOutOfMemoryError.class.getName(), "throwOOME");
         OutputAnalyzer output = new OutputAnalyzer(pb.start());
 
         /*
--- a/test/hotspot/jtreg/runtime/InternalApi/ThreadCpuTimesDeadlock.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/runtime/InternalApi/ThreadCpuTimesDeadlock.java	Tue Jun 05 15:56:21 2018 +0200
@@ -27,7 +27,7 @@
  * @bug 8014294
  * @summary Possible JVM deadlock in ThreadTimesClosure when using HotspotInternal non-public API.
  * @modules java.management/sun.management
- * @run main/othervm -XX:+UsePerfData -Xmx32m ThreadCpuTimesDeadlock
+ * @run main/othervm -XX:+UsePerfData -Xmx128m ThreadCpuTimesDeadlock
  */
 
 import java.lang.management.ManagementFactory;
--- a/test/hotspot/jtreg/runtime/Safepoint/AssertSafepointCheckConsistency1.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/runtime/Safepoint/AssertSafepointCheckConsistency1.java	Tue Jun 05 15:56:21 2018 +0200
@@ -52,7 +52,7 @@
                   "-XX:+WhiteBoxAPI",
                   "-XX:-TransmitErrorReport",
                   "-XX:-CreateCoredumpOnCrash",
-                  "-Xmx32m",
+                  "-Xmx128m",
                   "AssertSafepointCheckConsistency1",
                   "test");
             OutputAnalyzer output = new OutputAnalyzer(pb.start());
--- a/test/hotspot/jtreg/runtime/Safepoint/AssertSafepointCheckConsistency2.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/runtime/Safepoint/AssertSafepointCheckConsistency2.java	Tue Jun 05 15:56:21 2018 +0200
@@ -52,7 +52,7 @@
                   "-XX:+WhiteBoxAPI",
                   "-XX:-TransmitErrorReport",
                   "-XX:-CreateCoredumpOnCrash",
-                  "-Xmx32m",
+                  "-Xmx128m",
                   "AssertSafepointCheckConsistency2",
                   "test");
 
--- a/test/hotspot/jtreg/runtime/Unsafe/RangeCheck.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/runtime/Unsafe/RangeCheck.java	Tue Jun 05 15:56:21 2018 +0200
@@ -46,7 +46,7 @@
 
         ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
                 true,
-                "-Xmx32m",
+                "-Xmx128m",
                 "--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED",
                 "-XX:-TransmitErrorReport",
                 "-XX:-CreateCoredumpOnCrash",
--- a/test/hotspot/jtreg/runtime/logging/ClassInitializationTest.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/runtime/logging/ClassInitializationTest.java	Tue Jun 05 15:56:21 2018 +0200
@@ -42,7 +42,7 @@
         // (1)
         ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-Xlog:class+init=info",
                                                                   "-Xverify:all",
-                                                                  "-Xmx64m",
+                                                                  "-Xmx128m",
                                                                   "BadMap50");
         OutputAnalyzer out = new OutputAnalyzer(pb.start());
         out.shouldContain("Start class verification for:");
@@ -56,7 +56,7 @@
             pb = ProcessTools.createJavaProcessBuilder("-Xlog:class+init=info",
                                                        "-Xverify:all",
                                                        "-XX:+EagerInitialization",
-                                                       "-Xmx64m",
+                                                       "-Xmx128m",
                                                        InnerClass.class.getName());
             out = new OutputAnalyzer(pb.start());
             out.shouldContain("[Initialized").shouldContain("without side effects]");
@@ -66,7 +66,7 @@
         // (3) class+init should turn off.
         pb = ProcessTools.createJavaProcessBuilder("-Xlog:class+init=off",
                                                    "-Xverify:all",
-                                                   "-Xmx64m",
+                                                   "-Xmx128m",
                                                    "BadMap50");
         out = new OutputAnalyzer(pb.start());
         out.shouldNotContain("[class,init]");
--- a/test/hotspot/jtreg/runtime/logging/ProtectionDomainVerificationTest.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/runtime/logging/ProtectionDomainVerificationTest.java	Tue Jun 05 15:56:21 2018 +0200
@@ -39,7 +39,7 @@
 
         // -Xlog:protectiondomain=trace
         ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-Xlog:protectiondomain=trace",
-                                                                  "-Xmx64m",
+                                                                  "-Xmx128m",
                                                                   Hello.class.getName());
         OutputAnalyzer out = new OutputAnalyzer(pb.start());
         out.shouldContain("[protectiondomain] Checking package access");
@@ -47,7 +47,7 @@
 
         // -Xlog:protectiondomain=debug
         pb = ProcessTools.createJavaProcessBuilder("-Xlog:protectiondomain=debug",
-                                                                  "-Xmx64m",
+                                                                  "-Xmx128m",
                                                                   Hello.class.getName());
         out = new OutputAnalyzer(pb.start());
         out.shouldContain("[protectiondomain] Checking package access");
--- a/test/hotspot/jtreg/runtime/logging/VMOperationTest.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/runtime/logging/VMOperationTest.java	Tue Jun 05 15:56:21 2018 +0200
@@ -38,8 +38,8 @@
 public class VMOperationTest {
     public static void main(String[] args) throws Exception {
         ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-Xlog:vmoperation=debug",
-                                                                  "-Xmx64m",
-                                                                  "-Xms64m",
+                                                                  "-Xmx128m",
+                                                                  "-Xms128m",
                                                                   InternalClass.class.getName());
         OutputAnalyzer output = new OutputAnalyzer(pb.start());
         output.shouldContain("VM_Operation (");
@@ -65,4 +65,3 @@
         }
     }
 }
-
--- a/test/hotspot/jtreg/runtime/memory/MultiAllocateNullCheck.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/runtime/memory/MultiAllocateNullCheck.java	Tue Jun 05 15:56:21 2018 +0200
@@ -25,7 +25,7 @@
  * @test MultiAllocateNullCheck
  * @bug 6726963
  * @summary multi_allocate() call does not CHECK_NULL and causes crash in fastdebug bits
- * @run main/othervm -Xmx32m MultiAllocateNullCheck
+ * @run main/othervm -Xmx128m MultiAllocateNullCheck
  */
 
 import java.lang.reflect.Array;
--- a/test/hotspot/jtreg/runtime/memory/ReadFromNoaccessArea.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/runtime/memory/ReadFromNoaccessArea.java	Tue Jun 05 15:56:21 2018 +0200
@@ -53,7 +53,7 @@
           "-XX:+UseCompressedOops",
           "-XX:HeapBaseMinAddress=33G",
           "-XX:-CreateCoredumpOnCrash",
-          "-Xmx32m",
+          "-Xmx128m",
           DummyClassWithMainTryingToReadFromNoaccessArea.class.getName());
 
     OutputAnalyzer output = new OutputAnalyzer(pb.start());
--- a/test/hotspot/jtreg/runtime/memory/ReserveMemory.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/runtime/memory/ReserveMemory.java	Tue Jun 05 15:56:21 2018 +0200
@@ -57,7 +57,7 @@
           "-XX:+WhiteBoxAPI",
           "-XX:-TransmitErrorReport",
           "-XX:-CreateCoredumpOnCrash",
-          "-Xmx32m",
+          "-Xmx128m",
           "ReserveMemory",
           "test");
 
--- a/test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/disableCollection/disablecollection002/TestDescription.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/disableCollection/disablecollection002/TestDescription.java	Tue Jun 05 15:56:21 2018 +0200
@@ -83,6 +83,6 @@
  *      -waittime=5
  *      -debugee.vmkind=java
  *      -transport.address=dynamic
- *      "-debugee.vmkeys=-Xmx128M ${test.vm.opts} ${test.java.opts}"
+ *      "-debugee.vmkeys=-Xmx256M ${test.vm.opts} ${test.java.opts}"
  */
 
--- a/test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/referringObjects/referringObjects002/referringObjects002.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/referringObjects/referringObjects002/referringObjects002.java	Tue Jun 05 15:56:21 2018 +0200
@@ -63,7 +63,7 @@
  *      -waittime=5
  *      -debugee.vmkind=java
  *      -transport.address=dynamic
- *      "-debugee.vmkeys=-Xmx128M ${test.vm.opts} ${test.java.opts}"
+ *      "-debugee.vmkeys=-Xmx256M ${test.vm.opts} ${test.java.opts}"
  *      -testClassPath ${test.class.path}
  */
 
--- a/test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/referringObjects/referringObjects003/referringObjects003.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/referringObjects/referringObjects003/referringObjects003.java	Tue Jun 05 15:56:21 2018 +0200
@@ -64,7 +64,7 @@
  *      -waittime=5
  *      -debugee.vmkind=java
  *      -transport.address=dynamic
- *      "-debugee.vmkeys=-Xmx128M ${test.vm.opts} ${test.java.opts}"
+ *      "-debugee.vmkeys=-Xmx256M ${test.vm.opts} ${test.java.opts}"
  */
 
 package nsk.jdi.ObjectReference.referringObjects.referringObjects003;
--- a/test/hotspot/jtreg/vmTestbase/nsk/jdi/ReferenceType/instances/instances001/instances001.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/vmTestbase/nsk/jdi/ReferenceType/instances/instances001/instances001.java	Tue Jun 05 15:56:21 2018 +0200
@@ -66,7 +66,7 @@
  *      -waittime=5
  *      -debugee.vmkind=java
  *      -transport.address=dynamic
- *      "-debugee.vmkeys=-Xmx128M ${test.vm.opts} ${test.java.opts}"
+ *      "-debugee.vmkeys=-Xmx256M ${test.vm.opts} ${test.java.opts}"
  */
 
 package nsk.jdi.ReferenceType.instances.instances001;
--- a/test/hotspot/jtreg/vmTestbase/nsk/jdi/VMOutOfMemoryException/VMOutOfMemoryException001/VMOutOfMemoryException001.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/vmTestbase/nsk/jdi/VMOutOfMemoryException/VMOutOfMemoryException001/VMOutOfMemoryException001.java	Tue Jun 05 15:56:21 2018 +0200
@@ -46,7 +46,7 @@
  *      -waittime=5
  *      -debugee.vmkind=java
  *      -transport.address=dynamic
- *      "-debugee.vmkeys=-Xmx128M ${test.vm.opts} ${test.java.opts}"
+ *      "-debugee.vmkeys=-Xmx256M ${test.vm.opts} ${test.java.opts}"
  */
 
 package nsk.jdi.VMOutOfMemoryException.VMOutOfMemoryException001;
--- a/test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/instanceCounts/instancecounts002/TestDescription.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/instanceCounts/instancecounts002/TestDescription.java	Tue Jun 05 15:56:21 2018 +0200
@@ -56,7 +56,7 @@
  *      -waittime=5
  *      -debugee.vmkind=java
  *      -transport.address=dynamic
- *      "-debugee.vmkeys=-Xmx128M ${test.vm.opts} ${test.java.opts}"
+ *      "-debugee.vmkeys=-Xmx256M ${test.vm.opts} ${test.java.opts}"
  *      -forceGC
  */
 
--- a/test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/instanceCounts/instancecounts003/instancecounts003.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/instanceCounts/instancecounts003/instancecounts003.java	Tue Jun 05 15:56:21 2018 +0200
@@ -55,7 +55,7 @@
  *      -waittime=5
  *      -debugee.vmkind=java
  *      -transport.address=dynamic
- *      "-debugee.vmkeys=${test.vm.opts} ${test.java.opts}"
+ *      "-debugee.vmkeys=-Xmx256M ${test.vm.opts} ${test.java.opts}"
  *      -testClassPath ${test.class.path}
  */
 
--- a/test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/instanceCounts/instancecounts004/instancecounts004.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/instanceCounts/instancecounts004/instancecounts004.java	Tue Jun 05 15:56:21 2018 +0200
@@ -49,7 +49,7 @@
  *      -waittime=5
  *      -debugee.vmkind=java
  *      -transport.address=dynamic
- *      "-debugee.vmkeys=-Xmx128M ${test.vm.opts} ${test.java.opts}"
+ *      "-debugee.vmkeys=-Xmx256M ${test.vm.opts} ${test.java.opts}"
  */
 
 package nsk.jdi.VirtualMachine.instanceCounts.instancecounts004;
--- a/test/hotspot/jtreg/vmTestbase/nsk/jdi/stress/serial/heapwalking001/TestDescription.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/vmTestbase/nsk/jdi/stress/serial/heapwalking001/TestDescription.java	Tue Jun 05 15:56:21 2018 +0200
@@ -58,7 +58,7 @@
  *      -waittime=5
  *      -debugee.vmkind=java
  *      -transport.address=dynamic
- *      "-debugee.vmkeys=-Xmx128M ${test.vm.opts} ${test.java.opts}"
+ *      "-debugee.vmkeys=-Xmx256M ${test.vm.opts} ${test.java.opts}"
  *      -testClassPath ${test.class.path}
  *      -configFile ./heapwalking001.tests
  */
--- a/test/hotspot/jtreg/vmTestbase/nsk/jdi/stress/serial/heapwalking002/TestDescription.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/vmTestbase/nsk/jdi/stress/serial/heapwalking002/TestDescription.java	Tue Jun 05 15:56:21 2018 +0200
@@ -60,7 +60,7 @@
  *      -waittime=5
  *      -debugee.vmkind=java
  *      -transport.address=dynamic
- *      "-debugee.vmkeys=-Xmx128M ${test.vm.opts} ${test.java.opts}"
+ *      "-debugee.vmkeys=-Xmx256M ${test.vm.opts} ${test.java.opts}"
  *      -testClassPath ${test.class.path}
  *      -configFile ./heapwalking002.tests
  *      -testWorkDir .
--- a/test/hotspot/jtreg/vmTestbase/nsk/jdi/stress/serial/mixed001/TestDescription.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/vmTestbase/nsk/jdi/stress/serial/mixed001/TestDescription.java	Tue Jun 05 15:56:21 2018 +0200
@@ -68,7 +68,7 @@
  *      -waittime=5
  *      -debugee.vmkind=java
  *      -transport.address=dynamic
- *      "-debugee.vmkeys=-Xmx128M ${test.vm.opts} ${test.java.opts}"
+ *      "-debugee.vmkeys=-Xmx256M ${test.vm.opts} ${test.java.opts}"
  *      -testClassPath ${test.class.path}
  *      -configFile ./mixed001.tests
  */
--- a/test/hotspot/jtreg/vmTestbase/nsk/jdi/stress/serial/mixed002/TestDescription.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/vmTestbase/nsk/jdi/stress/serial/mixed002/TestDescription.java	Tue Jun 05 15:56:21 2018 +0200
@@ -66,7 +66,7 @@
  *      -waittime=5
  *      -debugee.vmkind=java
  *      -transport.address=dynamic
- *      "-debugee.vmkeys=-Xmx128M ${test.vm.opts} ${test.java.opts}"
+ *      "-debugee.vmkeys=-Xmx256M ${test.vm.opts} ${test.java.opts}"
  *      -testClassPath ${test.class.path}
  *      -configFile ./mixed002.tests
  *      -testWorkDir .
--- a/test/hotspot/jtreg/vmTestbase/nsk/jdwp/ObjectReference/ReferringObjects/referringObjects001/referringObjects001.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/vmTestbase/nsk/jdwp/ObjectReference/ReferringObjects/referringObjects001/referringObjects001.java	Tue Jun 05 15:56:21 2018 +0200
@@ -77,7 +77,7 @@
  *      -waittime=5
  *      -debugee.vmkind=java
  *      -transport.address=dynamic
- *      -debugee.vmkeys="-Xmx128M ${test.vm.opts} ${test.java.opts}"
+ *      -debugee.vmkeys="-Xmx256M ${test.vm.opts} ${test.java.opts}"
  */
 
 package nsk.jdwp.ObjectReference.ReferringObjects.referringObjects001;
--- a/test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/func/regression/b7127687/TestDescription.java	Tue Jun 05 15:56:17 2018 +0200
+++ b/test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/func/regression/b7127687/TestDescription.java	Tue Jun 05 15:56:21 2018 +0200
@@ -45,6 +45,5 @@
  * @build vm.mlvm.mixed.func.regression.b7127687.Test
  * @run driver vm.mlvm.share.IndifiedClassesBuilder
  *
- * @run main/othervm -Xmx64m vm.mlvm.mixed.func.regression.b7127687.Test
+ * @run main/othervm -Xmx128m vm.mlvm.mixed.func.regression.b7127687.Test
  */
-