test/gc/g1/TestDeferredRSUpdate.java

changeset 7022
9b093813caa9
parent 7013
e8ba50da0de0
equal deleted inserted replaced
7021:04d77ac27223 7022:9b093813caa9
21 * questions. 21 * questions.
22 */ 22 */
23 23
24 /* 24 /*
25 * @test TestDeferredRSUpdate 25 * @test TestDeferredRSUpdate
26 * @bug 8040977 26 * @bug 8040977 8052170
27 * @summary Ensure that running with -XX:-G1DeferredRSUpdate does not crash the VM 27 * @summary Ensure that running with -XX:-G1DeferredRSUpdate does not crash the VM
28 * @key gc 28 * @key gc
29 * @library /testlibrary 29 * @library /testlibrary
30 */ 30 */
31 31
36 public static void main(String[] args) throws Exception { 36 public static void main(String[] args) throws Exception {
37 GCTest.main(args); 37 GCTest.main(args);
38 38
39 ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseG1GC", 39 ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseG1GC",
40 "-Xmx10M", 40 "-Xmx10M",
41 "-XX:+PrintGCDetails",
41 // G1DeferredRSUpdate is a develop option, but we cannot limit execution of this test to only debug VMs. 42 // G1DeferredRSUpdate is a develop option, but we cannot limit execution of this test to only debug VMs.
42 "-XX:+IgnoreUnrecognizedVMOptions", 43 "-XX:+IgnoreUnrecognizedVMOptions",
43 "-XX:-G1DeferredRSUpdate", 44 "-XX:-G1DeferredRSUpdate",
44 GCTest.class.getName()); 45 GCTest.class.getName());
45 46

mercurial