23 |
23 |
24 /** |
24 /** |
25 * @test TestShrinkAuxiliaryData00 |
25 * @test TestShrinkAuxiliaryData00 |
26 * @bug 8038423 8061715 |
26 * @bug 8038423 8061715 |
27 * @summary Checks that decommitment occurs for JVM with different |
27 * @summary Checks that decommitment occurs for JVM with different |
28 * @ignore 8155957 |
|
29 * G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values |
28 * G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values |
30 * @requires vm.gc=="G1" | vm.gc=="null" |
29 * @requires vm.gc=="G1" | vm.gc=="null" |
31 * @requires vm.opt.AggressiveOpts=="false" | vm.opt.AggressiveOpts=="null" |
30 * @requires vm.opt.AggressiveOpts=="false" | vm.opt.AggressiveOpts=="null" |
32 * @library /testlibrary /test/lib |
31 * @library /testlibrary /test/lib |
33 * @modules java.base/jdk.internal.misc |
32 * @modules java.base/jdk.internal.misc |
34 * java.management |
33 * java.management |
35 * @build jdk.test.lib.* sun.hotspot.WhiteBox |
34 * @build jdk.test.lib.* sun.hotspot.WhiteBox |
36 * TestShrinkAuxiliaryData TestShrinkAuxiliaryData00 |
35 * TestShrinkAuxiliaryData TestShrinkAuxiliaryData00 |
37 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
36 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
38 * sun.hotspot.WhiteBox$WhiteBoxPermission |
37 * sun.hotspot.WhiteBox$WhiteBoxPermission |
39 * @run driver/timeout=720 TestShrinkAuxiliaryData00 |
38 * @run main/timeout=720 TestShrinkAuxiliaryData00 |
40 */ |
39 */ |
41 public class TestShrinkAuxiliaryData00 { |
40 public class TestShrinkAuxiliaryData00 { |
42 |
41 |
43 public static void main(String[] args) throws Exception { |
42 public static void main(String[] args) throws Exception { |
44 new TestShrinkAuxiliaryData(0).test(); |
43 new TestShrinkAuxiliaryData(0).test(); |