RFR: 8277394: Remove the use of safepoint_workers in reference processor

Ivan Walulya iwalulya at openjdk.org
Thu Jul 3 11:39:39 UTC 2025


On Thu, 26 Jun 2025 08:06:59 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this alternate implementation of 8277394. During the review of the first implementation (https://github.com/openjdk/jdk/pull/6453) the reviews did not like that the `WorkerThreads` were stashed away in the `ReferenceProcessor`.
> 
> This is an alternate implementation that implements the suggestion in the review comments, passing them along through the callers. While this requires a bit more changes, imo it better separates reference processor logic from the execution resources.
> 
> Testing: tier1-5
> 
> Thanks,
>   Thomas

LGTM!

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

Marked as reviewed by iwalulya (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25995#pullrequestreview-2982829952


More information about the hotspot-gc-dev mailing list