equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, 2016, 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. |
23 |
23 |
24 /* |
24 /* |
25 * @test TestSurvivorRatioFlag |
25 * @test TestSurvivorRatioFlag |
26 * @key gc |
26 * @key gc |
27 * @summary Verify that actual survivor ratio is equal to specified SurvivorRatio value |
27 * @summary Verify that actual survivor ratio is equal to specified SurvivorRatio value |
28 * @requires vm.gc != "Z" |
28 * @requires vm.gc != "Z" & vm.gc != "Shenandoah" |
29 * @library /test/lib |
29 * @library /test/lib |
30 * @modules java.base/jdk.internal.misc |
30 * @modules java.base/jdk.internal.misc |
31 * java.management |
31 * java.management |
32 * @build sun.hotspot.WhiteBox |
32 * @build sun.hotspot.WhiteBox |
33 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
33 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |