hotspot/test/runtime/CommandLine/OptionsValidation/common/optionsvalidation/JVMOptionsUtils.java
changeset 46746 ea379ebb9447
parent 46487 f8e5223d1501
equal deleted inserted replaced
46745:f7b9bb98bb72 46746:ea379ebb9447
     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.
   230                 option.addPrepend("-XX:+VerifyAfterGC");
   230                 option.addPrepend("-XX:+VerifyAfterGC");
   231                 break;
   231                 break;
   232             case "NewSizeThreadIncrease":
   232             case "NewSizeThreadIncrease":
   233                 option.addPrepend("-XX:+UseSerialGC");
   233                 option.addPrepend("-XX:+UseSerialGC");
   234                 break;
   234                 break;
   235             case "SharedReadWriteSize":
       
   236             case "SharedReadOnlySize":
       
   237             case "SharedMiscDataSize":
       
   238             case "SharedMiscCodeSize":
       
   239             case "SharedBaseAddress":
   235             case "SharedBaseAddress":
   240             case "SharedSymbolTableBucketSize":
   236             case "SharedSymbolTableBucketSize":
   241                 option.addPrepend("-XX:+UnlockDiagnosticVMOptions");
   237                 option.addPrepend("-XX:+UnlockDiagnosticVMOptions");
   242                 option.addPrepend("-XX:SharedArchiveFile=TestOptionsWithRanges.jsa");
   238                 option.addPrepend("-XX:SharedArchiveFile=TestOptionsWithRanges.jsa");
   243                 option.addPrepend("-Xshare:dump");
   239                 option.addPrepend("-Xshare:dump");