test/hotspot/jtreg/runtime/CommandLine/OptionsValidation/common/optionsvalidation/JVMOption.java
equal
deleted
inserted
replaced
398 // Avoid excessive execution time. |
398 // Avoid excessive execution time. |
399 runJava.add("-XX:-ZapUnusedHeapArea"); |
399 runJava.add("-XX:-ZapUnusedHeapArea"); |
400 } |
400 } |
401 |
401 |
402 if (GCType != null && |
402 if (GCType != null && |
403 !(prepend.contains("-XX:+UseConcMarkSweepGC") || |
403 !(prepend.contains("-XX:+UseSerialGC") || |
404 prepend.contains("-XX:+UseSerialGC") || |
|
405 prepend.contains("-XX:+UseParallelGC") || |
404 prepend.contains("-XX:+UseParallelGC") || |
406 prepend.contains("-XX:+UseG1GC"))) { |
405 prepend.contains("-XX:+UseG1GC"))) { |
407 explicitGC = GCType; |
406 explicitGC = GCType; |
408 } |
407 } |
409 |
408 |