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

Thomas Schatzl tschatzl at openjdk.org
Thu Jul 3 11:46:43 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

This pull request has now been integrated.

Changeset: 5e40fb6b
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/5e40fb6bda1d56e3eba584b49aa0b68096b34169
Stats:     63 lines in 9 files changed: 18 ins; 26 del; 19 mod

8277394: Remove the use of safepoint_workers in reference processor

Co-authored-by: Albert Mingkun Yang <ayang at openjdk.org>
Reviewed-by: ayang, iwalulya

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

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


More information about the hotspot-gc-dev mailing list