equal
deleted
inserted
replaced
27 * Test scenario: |
27 * Test scenario: |
28 * test several times provokes garbage collection in the debuggee application and after each garbage |
28 * test several times provokes garbage collection in the debuggee application and after each garbage |
29 * collection runs jstat. jstat should show that after garbage collection number of GC events and garbage |
29 * collection runs jstat. jstat should show that after garbage collection number of GC events and garbage |
30 * collection time increase. |
30 * collection time increase. |
31 * @modules java.base/jdk.internal.misc |
31 * @modules java.base/jdk.internal.misc |
32 * @library /test/lib/share/classes |
32 * @library /test/lib |
33 * @library ../share |
33 * @library ../share |
34 * @requires vm.opt.ExplicitGCInvokesConcurrent != true |
34 * @requires vm.opt.ExplicitGCInvokesConcurrent != true |
35 * @build common.* |
|
36 * @build utils.* |
|
37 * |
|
38 * @run main/othervm -XX:+UsePerfData -Xmx128M GcCauseTest01 |
35 * @run main/othervm -XX:+UsePerfData -Xmx128M GcCauseTest01 |
39 */ |
36 */ |
40 import utils.*; |
37 import utils.*; |
41 |
38 |
42 public class GcCauseTest01 { |
39 public class GcCauseTest01 { |