test/hotspot/jtreg/runtime/CommandLine/VMDeprecatedOptions.java
changeset 49037 dc68aeea4840
parent 48885 00e159258897
child 49185 5d1b75086f98
equal deleted inserted replaced
49036:bc92debe57e4 49037:dc68aeea4840
    39      * (true/false/n/string)}.
    39      * (true/false/n/string)}.
    40      */
    40      */
    41     public static final String[][] DEPRECATED_OPTIONS = {
    41     public static final String[][] DEPRECATED_OPTIONS = {
    42         // deprecated non-alias flags:
    42         // deprecated non-alias flags:
    43         {"MaxGCMinorPauseMillis",     "1032"},
    43         {"MaxGCMinorPauseMillis",     "1032"},
    44         {"MustCallLoadClassInternal", "false"},
       
    45         {"MaxRAMFraction",            "8"},
    44         {"MaxRAMFraction",            "8"},
    46         {"MinRAMFraction",            "2"},
    45         {"MinRAMFraction",            "2"},
    47         {"InitialRAMFraction",        "64"},
    46         {"InitialRAMFraction",        "64"},
    48         {"AssumeMP",                  "false"},
    47         {"AssumeMP",                  "false"},
    49         {"UseMembar",                 "true"},
    48         {"UseMembar",                 "true"},
   104         output.shouldMatch(match);
   103         output.shouldMatch(match);
   105     }
   104     }
   106 
   105 
   107     public static void main(String[] args) throws Throwable {
   106     public static void main(String[] args) throws Throwable {
   108         testDeprecated(DEPRECATED_OPTIONS);  // Make sure that each deprecated option is mentioned in the output.
   107         testDeprecated(DEPRECATED_OPTIONS);  // Make sure that each deprecated option is mentioned in the output.
   109         testDeprecatedDiagnostic("UnsyncloadClass", "false");
       
   110         testDeprecatedDiagnostic("IgnoreUnverifiableClassesDuringDump", "false");
   108         testDeprecatedDiagnostic("IgnoreUnverifiableClassesDuringDump", "false");
   111     }
   109     }
   112 }
   110 }