--- old/test/jdk/jfr/event/compiler/TestCodeCacheFull.java 2019-08-12 15:02:23.758170488 +0800 +++ new/test/jdk/jfr/event/compiler/TestCodeCacheFull.java 2019-08-12 15:02:23.569175959 +0800 @@ -39,18 +39,18 @@ * @test TestCodeCacheFull * * - * @library /lib / + * @library /lib * - * jdk.management.jfr + * * @build sun.hotspot.WhiteBox * @run main ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission * * @run main/othervm -Xbootclasspath/a:. * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI - * -XX:+SegmentedCodeCache -XX:-UseLargePages jdk.jfr.event.compiler.TestCodeCacheFull + * -XX:-UseLargePages jdk.jfr.event.compiler.TestCodeCacheFull * @run main/othervm -Xbootclasspath/a:. * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI - * -XX:-SegmentedCodeCache jdk.jfr.event.compiler.TestCodeCacheFull + * jdk.jfr.event.compiler.TestCodeCacheFull */ public class TestCodeCacheFull { @@ -85,7 +85,7 @@ private static BlobType blobTypeFromName(String codeBlobTypeName) throws Exception { for (BlobType t : BlobType.getAvailable()) { - if (t.beanName.equals(codeBlobTypeName)) { + if (t.name.equals(codeBlobTypeName)) { return t; } }