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

test/compiler/codecache/CheckSegmentedCodeCache.java

Print this page

        

*** 98,113 **** // interpreter-only mode pb = ProcessTools.createJavaProcessBuilder("-XX:+SegmentedCodeCache", "-Xint", "-XX:+PrintCodeCache", "-version"); verifyCodeHeapNotExists(pb, PROFILED, NON_PROFILED); 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); --- 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); 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