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. |
24 /* |
24 /* |
25 * @test TestNewRatioFlag |
25 * @test TestNewRatioFlag |
26 * @key gc |
26 * @key gc |
27 * @bug 8025166 |
27 * @bug 8025166 |
28 * @summary Verify that heap devided among generations according to NewRatio |
28 * @summary Verify that heap devided among generations according to NewRatio |
29 * @requires vm.gc != "Z" |
29 * @requires vm.gc != "Z" & vm.gc != "Shenandoah" |
30 * @library /test/lib |
30 * @library /test/lib |
31 * @modules java.base/jdk.internal.misc |
31 * @modules java.base/jdk.internal.misc |
32 * java.management |
32 * java.management |
33 * @build sun.hotspot.WhiteBox |
33 * @build sun.hotspot.WhiteBox |
34 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
34 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |