equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
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 |
32 * @library /test/lib |
33 * @library ../share |
33 * @library ../share |
34 * @requires vm.opt.ExplicitGCInvokesConcurrent != true |
34 * @requires vm.opt.ExplicitGCInvokesConcurrent != true |
35 * @requires vm.gc != "Z" |
35 * @requires vm.gc != "Z" & vm.gc != "Shenandoah" |
36 * @run main/othervm -XX:+UsePerfData -Xmx128M GcCauseTest01 |
36 * @run main/othervm -XX:+UsePerfData -Xmx128M GcCauseTest01 |
37 */ |
37 */ |
38 import utils.*; |
38 import utils.*; |
39 |
39 |
40 public class GcCauseTest01 { |
40 public class GcCauseTest01 { |