--- a/hotspot/test/gc/g1/TestGCLogMessages.java Fri Feb 28 15:27:09 2014 +0100
+++ b/hotspot/test/gc/g1/TestGCLogMessages.java Tue Mar 18 19:07:22 2014 +0100
@@ -49,11 +49,13 @@
output.shouldNotContain("[Redirty Cards");
output.shouldNotContain("[Code Root Purge");
+ output.shouldNotContain("[String Dedup Fixup");
output.shouldNotContain("[Young Free CSet");
output.shouldNotContain("[Non-Young Free CSet");
output.shouldHaveExitValue(0);
pb = ProcessTools.createJavaProcessBuilder("-XX:+UseG1GC",
+ "-XX:+UseStringDeduplication",
"-Xmx10M",
"-XX:+PrintGCDetails",
GCTest.class.getName());
@@ -62,11 +64,13 @@
output.shouldContain("[Redirty Cards");
output.shouldContain("[Code Root Purge");
+ output.shouldContain("[String Dedup Fixup");
output.shouldNotContain("[Young Free CSet");
output.shouldNotContain("[Non-Young Free CSet");
output.shouldHaveExitValue(0);
pb = ProcessTools.createJavaProcessBuilder("-XX:+UseG1GC",
+ "-XX:+UseStringDeduplication",
"-Xmx10M",
"-XX:+PrintGCDetails",
"-XX:+UnlockExperimentalVMOptions",
@@ -77,6 +81,7 @@
output.shouldContain("[Redirty Cards");
output.shouldContain("[Code Root Purge");
+ output.shouldContain("[String Dedup Fixup");
output.shouldContain("[Young Free CSet");
output.shouldContain("[Non-Young Free CSet");