mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8068579: Running with -XX:-UseParallelGC does not turn ParalleGC off
Reviewed-by: jmasa, dfazunen, brutisso
This commit is contained in:
parent
ae4cc4b56a
commit
0fb3d6a52e
4 changed files with 92 additions and 46 deletions
|
@ -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) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue