test/compiler/codecache/CheckSegmentedCodeCache.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/test/compiler/codecache/CheckSegmentedCodeCache.java	Thu Oct  2 12:17:38 2014
--- new/test/compiler/codecache/CheckSegmentedCodeCache.java	Thu Oct  2 12:17:38 2014

*** 98,113 **** --- 98,114 ---- // interpreter-only mode pb = ProcessTools.createJavaProcessBuilder("-XX:+SegmentedCodeCache", "-Xint", "-XX:+PrintCodeCache", "-version"); verifyCodeHeapNotExists(pb, PROFILED, NON_PROFILED); + + // If we stop compilation at CompLevel_none or CompLevel_simple we + // don't need a profiled code heap. pb = ProcessTools.createJavaProcessBuilder("-XX:+SegmentedCodeCache", "-XX:TieredStopAtLevel=0", "-XX:+PrintCodeCache", "-version"); - verifyCodeHeapNotExists(pb, PROFILED, NON_PROFILED); // If we stop compilation at CompLevel_simple pb = ProcessTools.createJavaProcessBuilder("-XX:+SegmentedCodeCache", "-XX:TieredStopAtLevel=1", "-XX:+PrintCodeCache", "-version"); verifyCodeHeapNotExists(pb, PROFILED);

test/compiler/codecache/CheckSegmentedCodeCache.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File