[jdk17u-dev] Integrated: 8331405: Shenandoah: Optimize ShenandoahLock with TTAS

Xiaolong Peng xpeng at openjdk.org
Thu Sep 12 10:40:10 UTC 2024


On Tue, 3 Sep 2024 15:58:53 GMT, Xiaolong Peng <xpeng at openjdk.org> wrote:

> Hi, 
>     This PR is a Backport of [JDK-8331405](https://bugs.openjdk.org/browse/JDK-8331405): Shenandoah: Optimize ShenandoahLock with TTAS, the original commit was authored by Aleksey Shipilev on 2 May 2024 and was reviewed by Zhengyu Gu and Y. S. Ramakrishna, and it had already been backported to jdk21.
>     It is a clean merge w/o any conflicts, overall risk should be very minimal given it is single line change to apply TTAS. 
> 
>    Here is the series of improvements for ShenandoahLock I'm going to backport to JDK17:
> 
> | Bug         | Title                                          | PR         |
> | ----------- | ---------------------------------------------- |------------|
> | [JDK-8325587](https://bugs.openjdk.org/browse/JDK-8325587) | ShenandoahLock should allow blocking in VM     | [2797](https://github.com/openjdk/jdk17u-dev/pull/2797)     |
> | [JDK-8331405](https://bugs.openjdk.org/browse/JDK-8331405) | Optimize ShenandoahLock with TTAS              | [2845](https://github.com/openjdk/jdk17u-dev/pull/2845) |
> | [JDK-8331411](https://bugs.openjdk.org/browse/JDK-8331411) | Reconsider spinning duration in ShenandoahLock |    |
> | [JDK-8335904](https://bugs.openjdk.org/browse/JDK-8335904) | Fix invalid comment in ShenandoahLock          |     |
> 
> ### Additional test
> - [x] Linux AArch64 server fastdebug, hotspot_gc_shenandoah

This pull request has now been integrated.

Changeset: 6f991090
Author:    Xiaolong Peng <xpeng at openjdk.org>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/6f991090d3749c8f5002cf2e7902f6a29324d3ff
Stats:     2 lines in 1 file changed: 1 ins; 0 del; 1 mod

8331405: Shenandoah: Optimize ShenandoahLock with TTAS

Backport-of: c4fe5bf90c2d368c29714de63a90eca444fb3ece

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

PR: https://git.openjdk.org/jdk17u-dev/pull/2845


More information about the jdk-updates-dev mailing list