8224666: Parallel GC: Use WorkGang (8: obsolete and remove flags)
Reviewed-by: stefank, kbarrett, tschatzl
This commit is contained in:
parent
1447c5c0e3
commit
f075a3278b
@ -680,12 +680,6 @@
|
||||
product(bool, DisableExplicitGC, false, \
|
||||
"Ignore calls to System.gc()") \
|
||||
\
|
||||
product(bool, BindGCTaskThreadsToCPUs, false, \
|
||||
"Bind GCTaskThreads to CPUs if possible") \
|
||||
\
|
||||
product(bool, UseGCTaskAffinity, false, \
|
||||
"Use worker affinity when asking for GCTasks") \
|
||||
\
|
||||
product(bool, PrintGC, false, \
|
||||
"Print message at garbage collection. " \
|
||||
"Deprecated, use -Xlog:gc instead.") \
|
||||
|
@ -553,6 +553,8 @@ static SpecialFlag const special_jvm_flags[] = {
|
||||
{ "SharedMiscDataSize", JDK_Version::undefined(), JDK_Version::jdk(10), JDK_Version::undefined() },
|
||||
{ "SharedMiscCodeSize", JDK_Version::undefined(), JDK_Version::jdk(10), JDK_Version::undefined() },
|
||||
{ "FailOverToOldVerifier", JDK_Version::undefined(), JDK_Version::jdk(14), JDK_Version::jdk(15) },
|
||||
{ "BindGCTaskThreadsToCPUs", JDK_Version::undefined(), JDK_Version::jdk(14), JDK_Version::jdk(16) },
|
||||
{ "UseGCTaskAffinity", JDK_Version::undefined(), JDK_Version::jdk(14), JDK_Version::jdk(16) },
|
||||
|
||||
#ifdef TEST_VERIFY_SPECIAL_JVM_FLAGS
|
||||
// These entries will generate build errors. Their purpose is to test the macros.
|
||||
@ -1968,13 +1970,6 @@ jint Arguments::set_aggressive_heap_flags() {
|
||||
return JNI_EINVAL;
|
||||
}
|
||||
|
||||
// Get around early Solaris scheduling bug
|
||||
// (affinity vs other jobs on system)
|
||||
// but disallow DR and offlining (5008695).
|
||||
if (FLAG_SET_CMDLINE(BindGCTaskThreadsToCPUs, true) != JVMFlag::SUCCESS) {
|
||||
return JNI_EINVAL;
|
||||
}
|
||||
|
||||
return JNI_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user