hotspot/test/gc/g1/TestShrinkAuxiliaryData05.java
changeset 29685 c19484601161
parent 28190 5a6b07edeb21
child 29707 30263f16b395
equal deleted inserted replaced
29684:a36d90acae41 29685:c19484601161
     1 /*
     1 /*
     2  * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 2015, 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.
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /**
    24 /**
    25  * @test TestShrinkAuxiliaryData05
    25  * @test TestShrinkAuxiliaryData05
    26  * @bug 8038423
    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  * G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
    28  * G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
    29  * @requires vm.gc=="G1" | vm.gc=="null"
    29  * @requires vm.gc=="G1" | vm.gc=="null"
    30  * @library /testlibrary /../../test/lib
    30  * @library /testlibrary /../../test/lib
    31  * @build TestShrinkAuxiliaryData TestShrinkAuxiliaryData05
    31  * @build com.oracle.java.testlibrary.* sun.hotspot.WhiteBox
       
    32  *        TestShrinkAuxiliaryData TestShrinkAuxiliaryData05
       
    33  * @run main ClassFileInstaller sun.hotspot.WhiteBox
       
    34  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
    32  * @run driver/timeout=720 TestShrinkAuxiliaryData05
    35  * @run driver/timeout=720 TestShrinkAuxiliaryData05
    33  */
    36  */
    34 public class TestShrinkAuxiliaryData05 {
    37 public class TestShrinkAuxiliaryData05 {
    35 
    38 
    36     public static void main(String[] args) throws Exception {
    39     public static void main(String[] args) throws Exception {