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. |
25 |
25 |
26 /* |
26 /* |
27 * @test |
27 * @test |
28 * @summary Test checks the consistency of the output |
28 * @summary Test checks the consistency of the output |
29 * displayed with jstat -gccapacity. |
29 * displayed with jstat -gccapacity. |
30 * @requires vm.gc != "Z" |
30 * @requires vm.gc != "Z" & vm.gc != "Shenandoah" |
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 * @run main/othervm -XX:+UsePerfData -Xmx128M GcCapacityTest |
35 * @run main/othervm -XX:+UsePerfData -Xmx128M GcCapacityTest |