Integrated: 8319137: release _object in ObjectMonitor dtor to avoid races
Patricio Chilano Mateo
pchilanomate at openjdk.org
Wed Nov 22 15:03:19 UTC 2023
On Mon, 20 Nov 2023 14:44:08 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:
> Please review the following fix which moves the release of the _object WeakHandle back to the ObjectMonitor dtor. Releasing it earlier as we do today introduces a race which can lead to crashes. Tested running tiers123 in mach5.
>
> This fix is an effective backout of [JDK-8256302](https://bugs.openjdk.org/browse/JDK-8256302).
>
> Thanks,
> Patricio
This pull request has now been integrated.
Changeset: c39d001c
Author: Patricio Chilano Mateo <pchilanomate at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/c39d001c7a1ae9eb322a7bb621a03e18c9bf02a1
Stats: 46 lines in 3 files changed: 4 ins; 36 del; 6 mod
8319137: release _object in ObjectMonitor dtor to avoid races
Reviewed-by: stefank, aboldtch, shade, dcubed, eosterlund
-------------
PR: https://git.openjdk.org/jdk/pull/16738
More information about the hotspot-runtime-dev
mailing list