8020531: Test compiler/codecache/CheckUpperLimit.java fails when memory limited
authoranoll
Thu, 01 Aug 2013 16:01:32 -0700
changeset 19157 da59f0d17387
parent 19156 96abb5953450
child 19158 9c755bf7cae5
8020531: Test compiler/codecache/CheckUpperLimit.java fails when memory limited Summary: Removed part of the test that required the VM to start up with -XX:ReservedCodeCacheSize=2048m Reviewed-by: kvn, rbackman
hotspot/test/compiler/codecache/CheckUpperLimit.java
--- a/hotspot/test/compiler/codecache/CheckUpperLimit.java	Mon Jul 29 16:32:38 2013 -0700
+++ b/hotspot/test/compiler/codecache/CheckUpperLimit.java	Thu Aug 01 16:01:32 2013 -0700
@@ -35,10 +35,6 @@
     ProcessBuilder pb;
     OutputAnalyzer out;
 
-    pb = ProcessTools.createJavaProcessBuilder("-XX:ReservedCodeCacheSize=2048m", "-version");
-    out = new OutputAnalyzer(pb.start());
-    out.shouldHaveExitValue(0);
-
     pb = ProcessTools.createJavaProcessBuilder("-XX:ReservedCodeCacheSize=2049m", "-version");
     out = new OutputAnalyzer(pb.start());
     out.shouldContain("Invalid ReservedCodeCacheSize=");