equal
deleted
inserted
replaced
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()); |