RFR: 8369611: Remove safepoint synchronization from ParallelScavengeHeap and SerialHeap
Xiaolong Peng
xpeng at openjdk.org
Mon Oct 13 15:03:24 UTC 2025
On Fri, 10 Oct 2025 22:38:14 GMT, Xiaolong Peng <xpeng at openjdk.org> wrote:
> In the discussion of [JDK-8369392](https://bugs.openjdk.org/browse/JDK-8369392), @kimbarrett pointed out that StringDedup thread is now derived from JavaThread, but ParallelScavengeHeap and SerialHeap still have conditional STS synchronization at safepoint, which is not needed, as a result of removing the conditional STS synchronization, we could remove the remove safepoint synchronization from ParallelScavengeHeap and SerialHeap.
>
> Test:
> - [x] tier1
Thanks all for the reviews!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27755#issuecomment-3397885000
More information about the hotspot-gc-dev
mailing list