[jdk25u-dev] RFR: 8369611: Remove safepoint synchronization from ParallelScavengeHeap and SerialHeap
Aleksey Shipilev
shade at openjdk.org
Thu Jan 15 08:18:40 UTC 2026
On Thu, 8 Jan 2026 16:02:50 GMT, Roland Mesde <duke at openjdk.org> wrote:
> Backporting JDK-8369611: Remove safepoint synchronization from ParallelScavengeHeap and SerialHeap
>
> This PR removes unnecessary conditional STS (Safepoint Thread Synchronization) code from ParallelScavengeHeap and SerialHeap. The cleanup is possible because StringDedup threads are now derived from JavaThread (changed in JDK-8369392), eliminating the need for special conditional synchronization logic that was previously required when StringDedup threads had different threading characteristics.
>
> This backport has internal demand.
>
> Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
>
> make test TEST=test/hotspot/jtreg/vmTestbase/gc
>
> Results attached:
>
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/24510510/windows-x64-specific-test.log)
> [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/24510512/macos-aarch64-specific-test.log)
> [linux-x64-specific-test.log](https://github.com/user-attachments/files/24510513/linux-x64-specific-test.log)
> [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/24510514/linux-aarch64-specific-test.log)
This one is one the simpler side, so we can have it in April release, I think? More complicated ones can indeed go into July release.
-------------
PR Comment: https://git.openjdk.org/jdk25u-dev/pull/136#issuecomment-3753426338
More information about the jdk-updates-dev
mailing list