From d1c138c60a06114aecef3727e85434f75ff0b34c Mon Sep 17 00:00:00 2001 From: anoll Date: Thu, 1 Aug 2013 16:01:32 -0700 Subject: [PATCH] 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 --- test/compiler/codecache/CheckUpperLimit.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/compiler/codecache/CheckUpperLimit.java b/test/compiler/codecache/CheckUpperLimit.java index 5e4803226..e2a2705b5 100644 --- a/test/compiler/codecache/CheckUpperLimit.java +++ b/test/compiler/codecache/CheckUpperLimit.java @@ -35,10 +35,6 @@ public class CheckUpperLimit { 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="); -- GitLab