--- old/test/compiler/codecache/CheckSegmentedCodeCache.java 2014-09-30 15:03:50.806871967 +0200 +++ new/test/compiler/codecache/CheckSegmentedCodeCache.java 2014-09-30 15:03:50.426871985 +0200 @@ -32,7 +32,7 @@ */ public class CheckSegmentedCodeCache { // Code heap names - private static final String NON_METHOD = "CodeHeap 'non-methods'"; + private static final String NON_METHOD = "CodeHeap 'non-nmethods'"; private static final String PROFILED = "CodeHeap 'profiled nmethods'"; private static final String NON_PROFILED = "CodeHeap 'non-profiled nmethods'"; @@ -40,7 +40,7 @@ OutputAnalyzer out = new OutputAnalyzer(pb.start()); if (enabled) { try { - // Non-method code heap should be always available with the segmented code cache + // Non-nmethod code heap should be always available with the segmented code cache out.shouldContain(NON_METHOD); } catch (RuntimeException e) { // TieredCompilation is disabled in a client VM @@ -111,7 +111,7 @@ "-XX:+PrintCodeCache", "-version"); verifyCodeHeapNotExists(pb, PROFILED); - // Fails with too small non-method code heap size + // Fails with too small non-nmethod code heap size pb = ProcessTools.createJavaProcessBuilder("-XX:NonMethodCodeHeapSize=100K"); failsWith(pb, "Invalid NonMethodCodeHeapSize"); @@ -127,6 +127,6 @@ pb = ProcessTools.createJavaProcessBuilder("-XX:+SegmentedCodeCache", "-XX:ReservedCodeCacheSize=1700K", "-XX:InitialCodeCacheSize=100K"); - failsWith(pb, "Not enough space in non-method code heap to run VM"); + failsWith(pb, "Not enough space in non-nmethod code heap to run VM"); } }