equal
deleted
inserted
replaced
86 |
86 |
87 public static String runTest(String[] additionalArgs, int numGCs) throws Exception { |
87 public static String runTest(String[] additionalArgs, int numGCs) throws Exception { |
88 ArrayList<String> finalargs = new ArrayList<String>(); |
88 ArrayList<String> finalargs = new ArrayList<String>(); |
89 String[] defaultArgs = new String[] { |
89 String[] defaultArgs = new String[] { |
90 "-XX:+UseG1GC", |
90 "-XX:+UseG1GC", |
91 "-XX:+UseCompressedOops", |
|
92 "-Xmn4m", |
91 "-Xmn4m", |
93 "-Xmx20m", |
92 "-Xmx20m", |
94 "-XX:InitiatingHeapOccupancyPercent=100", // we don't want the additional GCs due to initial marking |
93 "-XX:InitiatingHeapOccupancyPercent=100", // we don't want the additional GCs due to initial marking |
95 "-XX:+PrintGC", |
94 "-XX:+PrintGC", |
96 "-XX:+UnlockDiagnosticVMOptions", |
95 "-XX:+UnlockDiagnosticVMOptions", |