RFR: 8322743: assert(held_monitor_count() == jni_monitor_count()) failed
Vladimir Kozlov
kvn at openjdk.org
Wed Jan 10 18:29:25 UTC 2024
On Wed, 10 Jan 2024 02:07:29 GMT, Dean Long <dlong at openjdk.org> wrote:
> I'm wondering if there is a simpler solution. What if in `Parse::load_interpreter_state` we maark the lock objects from the interpreter as global escape?
Thank you, Dean, for looking on changes.
You are correct, we can mark created `BoxLock` node in `Parse::load_interpreter_state` as having escaped object.
But in general case it could be only dead path where such object is referenced. Also it could be other cases where EA think that object escapes on one of paths.
I wanted to check graph only after some transformations which happens before EA and use EA analysis to find escaped objects.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17331#issuecomment-1885396689
More information about the hotspot-compiler-dev
mailing list