RFR: 8359924: Deprecate and obsolete ParallelRefProcEnabled
Kim Barrett
kbarrett at openjdk.org
Wed Jun 18 21:24:28 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.
Looks good.
-------------
Marked as reviewed by kbarrett (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/25875#pullrequestreview-2940716200
More information about the hotspot-dev
mailing list