[jdk17u-dev] Integrated: 8319048: Monitor deflation unlink phase prolongs time to safepoint
Aleksey Shipilev
shade at openjdk.org
Fri Apr 19 14:42:08 UTC 2024
On Tue, 19 Mar 2024 18:33:35 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> Unclean backport to eliminate another safepoint hiccup caused by monitor deflation. The uncleanliness comes mostly from `NULL` vs `nullptr` differences in affected hunks. I chose to accept the new version that uses `nullptr` consistently, even though some `NULL`-s might have been left alone.
>
> I was concerned that we might still have problems with interleaving with end-of-VM monitor deflation. This was one of the minor reasons to do [JDK-8319896](https://bugs.openjdk.org/browse/JDK-8319896), but I see that we only do that in `VMThread` when exiting, so we are not actually at risk here.
>
> Additional testing:
> - [x] Linux x86_64 server fastdebug, `all` tests pass
This pull request has now been integrated.
Changeset: 5b656c86
Author: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jdk17u-dev/commit/5b656c86e87bfb3e227ff48ab654ea957b9bc2e0
Stats: 240 lines in 4 files changed: 222 ins; 0 del; 18 mod
8319048: Monitor deflation unlink phase prolongs time to safepoint
Reviewed-by: phh
Backport-of: efc392259c64986bbbe880259e95b09058b9076a
-------------
PR: https://git.openjdk.org/jdk17u-dev/pull/2309
More information about the jdk-updates-dev
mailing list