Integrated: 8359924: Deprecate and obsolete ParallelRefProcEnabled

Albert Mingkun Yang ayang at openjdk.org
Mon Jun 23 08:30:44 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.

This pull request has now been integrated.

Changeset: 516197f5
Author:    Albert Mingkun Yang <ayang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/516197f50b079978a4aa1593744cef9d56e01c67
Stats:     19 lines in 3 files changed: 10 ins; 8 del; 1 mod

8359924: Deprecate and obsolete ParallelRefProcEnabled

Reviewed-by: tschatzl, kbarrett, dholmes

-------------

PR: https://git.openjdk.org/jdk/pull/25875


More information about the hotspot-dev mailing list