[jdk17u-dev] Integrated: 8325587: Shenandoah: ShenandoahLock should allow blocking in VM
Xiaolong Peng
xpeng at openjdk.org
Tue Sep 3 08:46:27 UTC 2024
On Tue, 13 Aug 2024 16:54:05 GMT, Xiaolong Peng <xpeng at openjdk.org> wrote:
> Hi,
> This PR is a Backport of [JDK-8325587](https://bugs.openjdk.org/browse/JDK-8325587): Shenandoah: ShenandoahLock should allow blocking in VM, the original commit was authored by Aleksey Shipilev on 21 Feb 2024 and was reviewed by Robbin Ehn and Roman Kennke, and already backported to jdk21.
> It is not a clean backport for JDK17 due to code style change(NULL -> nullptr) and thread header file and API changes.
> This is the first backport of a series of improvements for ShenandoahLock to improve contention issue which we I have seem in our customer's production load running with JDK17, here are the series of improvements I'm going to backport to JDK17:
>
> | Bug | Title |
> | ----------- | ---------------------------------------------- |
> | [JDK-8325587](https://bugs.openjdk.org/browse/JDK-8325587) | ShenandoahLock should allow blocking in VM |
> | [JDK-8331405](https://bugs.openjdk.org/browse/JDK-8331405) | Optimize ShenandoahLock with TTAS |
> | [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 |
>
>
> Best,
> Xiaolong.
>
>
> Additional tests:
> - [x] hotspot_gc_shenandoah
> - [x] Linux x86_64 server fastdebug, all passes with -XX:+UseShenandoahGC
This pull request has now been integrated.
Changeset: dc69e059
Author: Xiaolong Peng <xpeng at openjdk.org>
URL: https://git.openjdk.org/jdk17u-dev/commit/dc69e059b16414c40ca9eabca136e71ed7bd1793
Stats: 67 lines in 3 files changed: 48 ins; 1 del; 18 mod
8325587: Shenandoah: ShenandoahLock should allow blocking in VM
Reviewed-by: shade, phh
Backport-of: 492e8bf563135d27b46fde198880e62d5f1940e8
-------------
PR: https://git.openjdk.org/jdk17u-dev/pull/2797
More information about the jdk-updates-dev
mailing list