mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8373449: Parallel: Obsolete deprecated PSChunkLargeArrays
Reviewed-by: kbarrett, dholmes, tschatzl
This commit is contained in:
parent
d03e7cb87a
commit
eda1ab2143
@ -33,10 +33,7 @@
|
||||
constraint) \
|
||||
product(bool, UseMaximumCompactionOnSystemGC, true, \
|
||||
"Use maximum compaction in the Parallel Old garbage collector " \
|
||||
"for a system GC") \
|
||||
\
|
||||
product(bool, PSChunkLargeArrays, true, \
|
||||
"(Deprecated) Process large arrays in chunks")
|
||||
"for a system GC")
|
||||
|
||||
// end of GC_PARALLEL_FLAGS
|
||||
|
||||
|
||||
@ -299,8 +299,7 @@ inline oop PSPromotionManager::copy_unmarked_to_survivor_space(oop o,
|
||||
// _min_array_size_for_chunking, and most of them will be arrays.
|
||||
// So, the objArray test would be very infrequent.
|
||||
if (new_obj_size > _min_array_size_for_chunking &&
|
||||
klass->is_objArray_klass() &&
|
||||
PSChunkLargeArrays) {
|
||||
klass->is_objArray_klass()) {
|
||||
push_objArray(o, new_obj);
|
||||
} else {
|
||||
// we'll just push its contents
|
||||
@ -344,7 +343,6 @@ inline void PSPromotionManager::copy_and_push_safe_barrier(T* p) {
|
||||
inline void PSPromotionManager::process_popped_location_depth(ScannerTask task,
|
||||
bool stolen) {
|
||||
if (task.is_partial_array_state()) {
|
||||
assert(PSChunkLargeArrays, "invariant");
|
||||
process_array_chunk(task.to_partial_array_state(), stolen);
|
||||
} else {
|
||||
if (task.is_narrow_oop_ptr()) {
|
||||
|
||||
@ -539,7 +539,6 @@ static SpecialFlag const special_jvm_flags[] = {
|
||||
#endif
|
||||
{ "ParallelRefProcEnabled", JDK_Version::jdk(26), JDK_Version::jdk(27), JDK_Version::jdk(28) },
|
||||
{ "ParallelRefProcBalancingEnabled", JDK_Version::jdk(26), JDK_Version::jdk(27), JDK_Version::jdk(28) },
|
||||
{ "PSChunkLargeArrays", JDK_Version::jdk(26), JDK_Version::jdk(27), JDK_Version::jdk(28) },
|
||||
{ "MaxRAM", JDK_Version::jdk(26), JDK_Version::jdk(27), JDK_Version::jdk(28) },
|
||||
{ "AggressiveHeap", JDK_Version::jdk(26), JDK_Version::jdk(27), JDK_Version::jdk(28) },
|
||||
{ "NeverActAsServerClassMachine", JDK_Version::jdk(26), JDK_Version::jdk(27), JDK_Version::jdk(28) },
|
||||
@ -554,6 +553,8 @@ static SpecialFlag const special_jvm_flags[] = {
|
||||
{ "NearCpool", JDK_Version::undefined(), JDK_Version::jdk(25), JDK_Version::undefined() },
|
||||
#endif
|
||||
|
||||
{ "PSChunkLargeArrays", JDK_Version::jdk(26), JDK_Version::jdk(27), JDK_Version::jdk(28) },
|
||||
|
||||
#ifdef ASSERT
|
||||
{ "DummyObsoleteTestFlag", JDK_Version::undefined(), JDK_Version::jdk(18), JDK_Version::undefined() },
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user