8068579: Running with -XX:-UseParallelGC does not turn ParalleGC off

Reviewed-by: jmasa, dfazunen, brutisso
This commit is contained in:
Per Lidén 2016-03-29 08:42:22 +02:00
parent ae4cc4b56a
commit 0fb3d6a52e
4 changed files with 92 additions and 46 deletions

View file

@ -567,7 +567,7 @@ class Arguments : AllStatic {
static jint adjust_after_os();
static void set_gc_specific_flags();
static inline bool gc_selected(); // whether a gc has been selected
static bool gc_selected(); // whether a gc has been selected
static void select_gc_ergonomically();
#if INCLUDE_JVMCI
// Check consistency of jvmci vm argument settings.
@ -732,10 +732,6 @@ class Arguments : AllStatic {
static void check_unsupported_dumping_properties() NOT_CDS_RETURN;
};
bool Arguments::gc_selected() {
return UseConcMarkSweepGC || UseG1GC || UseParallelGC || UseParallelOldGC || UseSerialGC;
}
// Disable options not supported in this release, with a warning if they
// were explicitly requested on the command-line
#define UNSUPPORTED_OPTION(opt, description) \