Integrated: 8369611: Remove safepoint synchronization from ParallelScavengeHeap and SerialHeap

Xiaolong Peng xpeng at openjdk.org
Mon Oct 13 15:06:46 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

This pull request has now been integrated.

Changeset: 551cd03b
Author:    Xiaolong Peng <xpeng at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/551cd03b99feb34d98703b7d04571f92f83f2471
Stats:     29 lines in 4 files changed: 0 ins; 29 del; 0 mod

8369611: Remove safepoint synchronization from ParallelScavengeHeap and SerialHeap

Reviewed-by: kbarrett, ayang, shade, tschatzl

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

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


More information about the hotspot-gc-dev mailing list