RFR: 8256302: releasing oopStorage when deflating allows for faster deleting

David Holmes dholmes at openjdk.org
Wed Nov 30 05:14:18 UTC 2022


On Tue, 22 Nov 2022 17:52:45 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

> Releasing ObjectMonitor oopStorage earlier when deflating allows ObjectMonitor
> deletion by a JavaThread (usually the MonitorDeflationThread) to happen while a
> ThreadBlockInVM helper is in place. This should improve time-to-safepoint.

I'm really not following the conversation around "we can't do release while _thread_blocked and so we can't release in the destructor" - when would we call the destructor whilst _thread_blocked? And why?

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

PR: https://git.openjdk.org/jdk/pull/11296


More information about the hotspot-runtime-dev mailing list