Integrated: 8305994: Guarantee eventual async monitor deflation
Aleksey Shipilev
shade at openjdk.org
Mon Apr 24 17:06:17 UTC 2023
On Fri, 14 Apr 2023 10:53:31 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> See discussion in the bug. This PR introduces a safety rail that kicks in when the threshold heuristics fails, and it is cleanly backportable to JDK 17, where the problem manifests as apparent memory leak. There are other options to resolve this (see the bug), but I think this one is the easiest in the interim.
>
> Additional testing:
> - [x] Linux x86_64 `tier1`
> - [x] Linux x86_64 `tier2`
> - [x] Linux x86_64 `tier3`
> - [x] `runtime/Monitor` tests
> - [x] Ad-hoc experiments (see example in the bug)
> - [x] New feature test
This pull request has now been integrated.
Changeset: 6b81342c
Author: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/6b81342c2215041dbb7e9020a67cdc56976c97b1
Stats: 274 lines in 4 files changed: 269 ins; 2 del; 3 mod
8305994: Guarantee eventual async monitor deflation
Reviewed-by: simonis, stuefe, dcubed
-------------
PR: https://git.openjdk.org/jdk/pull/13474
More information about the hotspot-runtime-dev
mailing list