diff --git a/test/compiler/codecache/CheckUpperLimit.java b/test/compiler/codecache/CheckUpperLimit.java index 5e4803226d54f6b4fdd3edcb64fc8f5ae19a246a..e2a2705b55478b388a620d3304566e004b4edb6e 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=");