RFR: 8359924: Deprecate and obsolete ParallelRefProcEnabled
Albert Mingkun Yang
ayang at openjdk.org
Mon Jun 23 08:30:43 UTC 2025
On Wed, 18 Jun 2025 14:04:28 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
> Deprecating `ParallelRefProcEnabled`, which is used only by Parallel and G1, and both have it enabled by default via:
>
>
> if (FLAG_IS_DEFAULT(ParallelRefProcEnabled) && ParallelGCThreads > 1) {
> FLAG_SET_DEFAULT(ParallelRefProcEnabled, true);
> }
>
>
> Disabling it offers little benefit and its presence incurs some implementation complexity in the reference-processor.
Thanks for review.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25875#issuecomment-2995440116
More information about the hotspot-dev
mailing list