Skip to content

Commit

Permalink
8224666: Parallel GC: Use WorkGang (8: obsolete and remove flags)
Browse files Browse the repository at this point in the history
Reviewed-by: stefank, kbarrett, tschatzl
  • Loading branch information
lkorinth committed Aug 16, 2019
1 parent 1447c5c commit f075a32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
6 changes: 0 additions & 6 deletions src/hotspot/share/gc/shared/gc_globals.hpp
Expand Up @@ -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.") \
Expand Down
9 changes: 2 additions & 7 deletions src/hotspot/share/runtime/arguments.cpp
Expand Up @@ -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.
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit f075a32

Please sign in to comment.