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

Thomas Schatzl tschatzl at openjdk.org
Thu Jul 3 11:46:42 UTC 2025


On Thu, 3 Jul 2025 11:36:44 GMT, Ivan Walulya <iwalulya 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!

Thanks @walulyai @albertnetymk for your reviews

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

PR Comment: https://git.openjdk.org/jdk/pull/25995#issuecomment-3031956840


More information about the hotspot-gc-dev mailing list