test/runtime/CompressedOops/CompressedClassSpaceSize.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/test/runtime/CompressedOops/CompressedClassSpaceSize.java	Sat Jun 13 09:00:38 2015
--- new/test/runtime/CompressedOops/CompressedClassSpaceSize.java	Sat Jun 13 09:00:38 2015

*** 40,50 **** --- 40,50 ---- if (Platform.is64bit()) { // Minimum size is 1MB pb = ProcessTools.createJavaProcessBuilder("-XX:CompressedClassSpaceSize=0", "-version"); output = new OutputAnalyzer(pb.start()); ! output.shouldContain("CompressedClassSpaceSize of 0 is invalid") ! output.shouldContain("outside the allowed range") .shouldHaveExitValue(1); // Invalid size of -1 should be handled correctly pb = ProcessTools.createJavaProcessBuilder("-XX:CompressedClassSpaceSize=-1", "-version");
*** 55,65 **** --- 55,65 ---- // Maximum size is 3GB pb = ProcessTools.createJavaProcessBuilder("-XX:CompressedClassSpaceSize=4g", "-version"); output = new OutputAnalyzer(pb.start()); ! output.shouldContain("CompressedClassSpaceSize of 4294967296 is invalid") ! output.shouldContain("outside the allowed range") .shouldHaveExitValue(1); // Make sure the minimum size is set correctly and printed pb = ProcessTools.createJavaProcessBuilder("-XX:+UnlockDiagnosticVMOptions",

test/runtime/CompressedOops/CompressedClassSpaceSize.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File