RFR: JDK-8277056: Combining several C2 Print* flags asserts in xmlStream::pop_tag
Dean Long
dlong at openjdk.java.net
Wed Apr 20 02:24:23 UTC 2022
On Tue, 19 Apr 2022 08:46:33 GMT, Tobias Holenstein <duke at openjdk.java.net> wrote:
> The compiler thread is running in native mode. Can you elaborate why tty lock can get broken at any time in native mode?
GC doesn't wait for threads in native mode. They are already considered "safe", and I was thinking break_tty_lock_for_safepoint was called by the GC thread. But looking at the code, it looks like that isn't true. It really is the compiler thread blocking on a safepoint. So is it really necessary for these functions to block for a safepoint?
-------------
PR: https://git.openjdk.java.net/jdk/pull/8203
More information about the hotspot-compiler-dev
mailing list