[jdk17u-dev] RFR: 8331405: Shenandoah: Optimize ShenandoahLock with TTAS
Xiaolong Peng
xpeng at openjdk.org
Tue Sep 3 16:14:39 UTC 2024
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 |
| ----------- | ---------------------------------------------- |
| [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 |
### Additional test
- [ ] Linux AArch64 server fastdebug, hotspot_gc_shenandoah
-------------
Commit messages:
- Backport c4fe5bf90c2d368c29714de63a90eca444fb3ece
Changes: https://git.openjdk.org/jdk17u-dev/pull/2845/files
Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2845&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8331405
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/2845.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/2845/head:pull/2845
PR: https://git.openjdk.org/jdk17u-dev/pull/2845
More information about the jdk-updates-dev
mailing list