hotspot/test/gc/g1/TestStringSymbolTableStats.java
changeset 35061 be6025ebffea
parent 30604 b8d532cb6420
child 37147 3560f05bd7c7
child 36851 03e2f4d0a421
equal deleted inserted replaced
35060:382d0689141c 35061:be6025ebffea
    37 public class TestStringSymbolTableStats {
    37 public class TestStringSymbolTableStats {
    38   public static void main(String[] args) throws Exception {
    38   public static void main(String[] args) throws Exception {
    39 
    39 
    40     ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseG1GC",
    40     ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseG1GC",
    41                                                               "-XX:+UnlockExperimentalVMOptions",
    41                                                               "-XX:+UnlockExperimentalVMOptions",
    42                                                               "-XX:+G1TraceStringSymbolTableScrubbing",
    42                                                               "-Xlog:gc+stringdedup=trace",
    43                                                               SystemGCTest.class.getName());
    43                                                               SystemGCTest.class.getName());
    44 
    44 
    45     OutputAnalyzer output = new OutputAnalyzer(pb.start());
    45     OutputAnalyzer output = new OutputAnalyzer(pb.start());
    46 
    46 
    47     System.out.println("Output:\n" + output.getOutput());
    47     System.out.println("Output:\n" + output.getOutput());