[jdk17u-dev] Integrated: 8331411: Shenandoah: Reconsider spinning duration in ShenandoahLock
Xiaolong Peng
xpeng at openjdk.org
Tue Sep 17 15:54:07 UTC 2024
On Thu, 12 Sep 2024 13:34:30 GMT, Xiaolong Peng <xpeng at openjdk.org> wrote:
> Hi,
> This PR is a Backport of [[JDK-8331411](https://bugs.openjdk.org/browse/JDK-8331411)]: Reconsider spinning duration in ShenandoahLock. The original commit was authored by Xiaolong Peng on 26 June 2024 and was reviewed by[Aleksey Shipilëv](https://github.com/shipilev), [Kelvin Nilsen](https://github.com/kdnilsen), and [William Kemper](https://github.com/earthling-amzn), it had already been backported to jdk21.
>
> It was not a clean merge, there were some conflicts and API change which have been resolved and tested. Meanwhile, given there were conflicts to resolve, I also updated the invalid comments which was fixed in JDK-8335904.
>
> This is the third PR of the series of improvements we are proposing to backport to jdk17 to solve the contention issue in ShenandoahLock, we have observed the lock contention is causing real problems in some of our products.
>
> 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 | [2868](https://github.com/openjdk/jdk17u-dev/pull/2868) |
> | [JDK-8335904](https://bugs.openjdk.org/browse/JDK-8335904) | Fix invalid comment in ShenandoahLock | [2868](https://github.com/openjdk/jdk17u-dev/pull/2868) |
>
> ### Additional test
> - [x] MacOS AArch64 server fastdebug, hotspot_gc_shenandoah
This pull request has now been integrated.
Changeset: 4f08bcd2
Author: Xiaolong Peng <xpeng at openjdk.org>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jdk17u-dev/commit/4f08bcd2431072d3b27a9589fe07f045c71d2aca
Stats: 47 lines in 2 files changed: 22 ins; 11 del; 14 mod
8331411: Shenandoah: Reconsider spinning duration in ShenandoahLock
8335904: Fix invalid comment in ShenandoahLock
Reviewed-by: phh, wkemper
Backport-of: 817edcb697cbb8c608c9292cdc4b99db4f5844dc
-------------
PR: https://git.openjdk.org/jdk17u-dev/pull/2868
More information about the jdk-updates-dev
mailing list