RFR: 8337318: Deoptimization::relock_objects fails assert(monitor->owner() == Thread::current()) failed: must be [v2]

Richard Reingruber rrich at openjdk.org
Mon Aug 12 19:31:36 UTC 2024


On Mon, 12 Aug 2024 18:15:45 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> The assert is wrong.  During deoptimization, the locking_thread is not the current thread, and that's the thread we should assert is the owner.
>> Reproduced in tier8 with com/sun/jdi/EATests.java, with LockStack CAPACITY=1 and not reproduced with the fix.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add Richard test case.

Thanks for adding the reproducer Coleen. I forgot to update the copyright year. Could you please take care of that?

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

PR Comment: https://git.openjdk.org/jdk/pull/20553#issuecomment-2284757091


More information about the hotspot-runtime-dev mailing list