RFR: 8329488: Move OopStorage code from safepoint cleanup and remove safepoint cleanup code [v4]

Coleen Phillimore coleenp at openjdk.org
Fri Apr 12 12:19:47 UTC 2024


On Tue, 9 Apr 2024 17:40:14 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> This patch gives the ServiceThread a periodic wakeup (same as GuaranteedSafepointInterval) to check if it needs to clean out OopStorage blocks, and move the triggering of this cleaning out of the safepoint cleanup tasks.  Since ICBuffer, StringTable and SymbolTable rehashing have moved, there's nothing that actually triggers the nop safepoint to do cleaning (except SafepointALot), so the OopStorage cleanup won't be triggered.
>> 
>> With moving all of these out of the safepoint cleanup tasks, we can remove the code that sets up multiple threads to do safepoint cleanup.  We can also remove the JFR events and logging that times safepoint cleanup, and a logging test.
>> 
>> Tested with tier1-4.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
> 
>   More comment updates.

Thank you for your review and comments, Erik and David, and your review and help with this PR, Kim.

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

PR Comment: https://git.openjdk.org/jdk/pull/18375#issuecomment-2051648308


More information about the hotspot-dev mailing list