hotspot/test/runtime/CommandLine/VMAliasOptions.java
changeset 43605 07baf498d588
parent 40631 ed82623d7831
equal deleted inserted replaced
43604:49949d36e3f9 43605:07baf498d588
     1 /*
     1 /*
     2  * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2017, 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.
    38      * each entry is {[0]: alias name, [1]: alias target, [2]: value to set
    38      * each entry is {[0]: alias name, [1]: alias target, [2]: value to set
    39      * (true/false/n/string)}.
    39      * (true/false/n/string)}.
    40      */
    40      */
    41     public static final String[][] ALIAS_OPTIONS = {
    41     public static final String[][] ALIAS_OPTIONS = {
    42         {"DefaultMaxRAMFraction",   "MaxRAMFraction", "1032"},
    42         {"DefaultMaxRAMFraction",   "MaxRAMFraction", "1032"},
    43         {"CMSMarkStackSizeMax",     "MarkStackSizeMax", "1032"},
       
    44         {"CMSMarkStackSize",        "MarkStackSize", "1032"},
       
    45         {"G1MarkStackSize",         "MarkStackSize", "1032"},
       
    46         {"ParallelMarkingThreads",  "ConcGCThreads", "2"},
       
    47         {"ParallelCMSThreads",      "ConcGCThreads", "2"},
       
    48         {"CreateMinidumpOnCrash",   "CreateCoredumpOnCrash", "false" },
    43         {"CreateMinidumpOnCrash",   "CreateCoredumpOnCrash", "false" },
    49     };
    44     };
    50 
    45 
    51     static void testAliases(String[][] optionInfo) throws Throwable {
    46     static void testAliases(String[][] optionInfo) throws Throwable {
    52         String aliasNames[]     = new String[optionInfo.length];
    47         String aliasNames[]     = new String[optionInfo.length];