< prev index next >
test/gc/g1/TestRemsetLoggingTools.java
Print this page
*** 20,30 ****
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
! * Common helpers for TestSummarizeRSetStats* tests
*/
import com.sun.management.HotSpotDiagnosticMXBean;
import com.sun.management.VMOption;
--- 20,30 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
! * Common helpers for TestRemsetLogging* tests
*/
import com.sun.management.HotSpotDiagnosticMXBean;
import com.sun.management.VMOption;
*** 65,75 ****
System.gc();
}
}
}
! public class TestSummarizeRSetStatsTools {
// the VM is currently run using G1GC, i.e. trying to test G1 functionality.
public static boolean testingG1GC() {
HotSpotDiagnosticMXBean diagnostic =
ManagementFactory.getPlatformMXBean(HotSpotDiagnosticMXBean.class);
--- 65,75 ----
System.gc();
}
}
}
! public class TestRemsetLoggingTools {
// the VM is currently run using G1GC, i.e. trying to test G1 functionality.
public static boolean testingG1GC() {
HotSpotDiagnosticMXBean diagnostic =
ManagementFactory.getPlatformMXBean(HotSpotDiagnosticMXBean.class);
*** 88,98 ****
"-XX:+UseG1GC",
"-Xmn4m",
"-Xms20m",
"-Xmx20m",
"-XX:InitiatingHeapOccupancyPercent=100", // we don't want the additional GCs due to initial marking
- "-XX:+PrintGC",
"-XX:+UnlockDiagnosticVMOptions",
"-XX:G1HeapRegionSize=1M",
};
finalargs.addAll(Arrays.asList(defaultArgs));
--- 88,97 ----
< prev index next >