--- old/test/hotspot/jtreg/runtime/MemberName/MemberNameLeak.java 2018-11-26 21:30:48.923703980 +0100 +++ new/test/hotspot/jtreg/runtime/MemberName/MemberNameLeak.java 2018-11-26 21:30:48.773705303 +0100 @@ -76,6 +76,7 @@ // Run this Leak class with logging ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( "-Xlog:membername+table=trace", + "-XX:+UnlockExperimentalVMOptions", "-XX:+UnlockDiagnosticVMOptions", "-XX:+WhiteBoxAPI", "-Xbootclasspath/a:.", @@ -99,6 +100,8 @@ if (!Compiler.isGraalEnabled()) { // Graal does not support CMS test("-XX:+UseConcMarkSweepGC", false); test("-XX:+UseConcMarkSweepGC", true); + test("-XX:+UseShenandoahGC", true); + test("-XX:+UseShenandoahGC", false); } } }