8334097: Parallel: Obsolete HeapFirstMaximumCompactionCount
Reviewed-by: tschatzl, dholmes
This commit is contained in:
parent
0665195e59
commit
b42fe86e81
@ -36,10 +36,6 @@
|
||||
"any dead space)") \
|
||||
range(0, max_uintx) \
|
||||
\
|
||||
product(uintx, HeapFirstMaximumCompactionCount, 3, \
|
||||
"The collection count for the first maximum compaction") \
|
||||
range(0, max_uintx) \
|
||||
\
|
||||
product(bool, UseMaximumCompactionOnSystemGC, true, \
|
||||
"Use maximum compaction in the Parallel Old garbage collector " \
|
||||
"for a system GC") \
|
||||
|
@ -837,8 +837,7 @@ bool PSParallelCompact::reassess_maximum_compaction(bool maximum_compaction,
|
||||
const uint total_invocations = ParallelScavengeHeap::heap()->total_full_collections();
|
||||
assert(total_invocations >= _maximum_compaction_gc_num, "sanity");
|
||||
const size_t gcs_since_max = total_invocations - _maximum_compaction_gc_num;
|
||||
const bool is_interval_ended = gcs_since_max > HeapMaximumCompactionInterval
|
||||
|| total_invocations == HeapFirstMaximumCompactionCount;
|
||||
const bool is_interval_ended = gcs_since_max > HeapMaximumCompactionInterval;
|
||||
|
||||
// If all regions in old-gen are full
|
||||
const bool is_region_full =
|
||||
|
@ -519,6 +519,8 @@ static SpecialFlag const special_jvm_flags[] = {
|
||||
{ "UseRTMDeopt", JDK_Version::jdk(23), JDK_Version::jdk(24), JDK_Version::jdk(25) },
|
||||
{ "RTMRetryCount", JDK_Version::jdk(23), JDK_Version::jdk(24), JDK_Version::jdk(25) },
|
||||
#endif // X86
|
||||
|
||||
{ "HeapFirstMaximumCompactionCount", JDK_Version::undefined(), JDK_Version::jdk(24), JDK_Version::jdk(25) },
|
||||
#ifdef ASSERT
|
||||
{ "DummyObsoleteTestFlag", JDK_Version::undefined(), JDK_Version::jdk(18), JDK_Version::undefined() },
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user