RFR: 8314225: SIGSEGV in JavaThread::is_lock_owned [v2]

Dean Long dlong at openjdk.org
Wed Jan 31 08:07:07 UTC 2024


On Wed, 31 Jan 2024 06:10:29 GMT, David Holmes <dholmes at openjdk.org> wrote:

> does "on the native stack" equate to being in a compiled vframe ?? I thought checking the native stack simply found if the BasicObjectLock addr was allocated on the thread's native stack.

@dholmes-ora 
Yes, the lock record could be on the native stack in either an interpreter frame or a compiled frame, but I don't know if that's what you mean by being in a compiled vframe.  If you mean what is returned by `compiledVFrame::monitors`, that returns all the monitors locked by the compiled frame, both inflated and fast/stack locked.

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

PR Comment: https://git.openjdk.org/jdk/pull/17566#issuecomment-1918583092


More information about the hotspot-dev mailing list