RFR: 8319137: release _object in ObjectMonitor dtor to avoid races [v2]

Patricio Chilano Mateo pchilanomate at openjdk.org
Mon Nov 20 17:37:16 UTC 2023


On Mon, 20 Nov 2023 16:42:00 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:

> Lgtm.
> 
> Could potentially remove the `if (_object.is_null())` checks in `ObjectMonitor::object` and `ObjectMonitor::object_peek`. Should never take those branches.
>
Right, removed.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/16738#issuecomment-1819518260


More information about the hotspot-runtime-dev mailing list