hotspot/test/runtime/CommandLine/OptionsValidation/common/optionsvalidation/JVMOption.java
equal
deleted
inserted
replaced
381 |
381 |
382 if (VMType != null) { |
382 if (VMType != null) { |
383 runJava.add(VMType); |
383 runJava.add(VMType); |
384 } |
384 } |
385 |
385 |
386 if (GCType != null) { |
386 if (GCType != null && |
|
387 !(prepend.contains("-XX:+UseConcMarkSweepGC") || |
|
388 prepend.contains("-XX:+UseSerialGC") || |
|
389 prepend.contains("-XX:+UseParallelGC") || |
|
390 prepend.contains("-XX:+UseG1GC"))) { |
387 runJava.add(GCType); |
391 runJava.add(GCType); |
388 } |
392 } |
389 |
393 |
390 runJava.addAll(prepend); |
394 runJava.addAll(prepend); |
391 runJava.add(optionValue); |
395 runJava.add(optionValue); |