TestShrinkAuxiliaryData05.java revision 7578:579e9a019f35
198944Sobrien/*
298944Sobrien * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
398944Sobrien * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
498944Sobrien *
598944Sobrien * This code is free software; you can redistribute it and/or modify it
698944Sobrien * under the terms of the GNU General Public License version 2 only, as
798944Sobrien * published by the Free Software Foundation.
898944Sobrien *
998944Sobrien * This code is distributed in the hope that it will be useful, but WITHOUT
1098944Sobrien * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1198944Sobrien * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
1298944Sobrien * version 2 for more details (a copy is included in the LICENSE file that
1398944Sobrien * accompanied this code).
1498944Sobrien *
1598944Sobrien * You should have received a copy of the GNU General Public License version
1698944Sobrien * 2 along with this work; if not, write to the Free Software Foundation,
1798944Sobrien * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1898944Sobrien *
1998944Sobrien * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2098944Sobrien * or visit www.oracle.com if you need additional information or have any
2198944Sobrien * questions.
2298944Sobrien */
23
24/**
25 * @test TestShrinkAuxiliaryData05
26 * @bug 8038423
27 * @summary Checks that decommitment occurs for JVM with different
28 * G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
29 * @requires vm.gc=="G1" | vm.gc=="null"
30 * @library /testlibrary /../../test/lib
31 * @build TestShrinkAuxiliaryData TestShrinkAuxiliaryData05
32 * @run driver/timeout=720 TestShrinkAuxiliaryData05
33 */
34public class TestShrinkAuxiliaryData05 {
35
36    public static void main(String[] args) throws Exception {
37        new TestShrinkAuxiliaryData(5).test();
38    }
39}
40