RFR: JDK-8277056: Combining several C2 Print* flags asserts in xmlStream::pop_tag

Xin Liu xliu at openjdk.java.net
Wed Apr 20 17:32:31 UTC 2022


On Wed, 20 Apr 2022 06:01:03 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> `process_if_requested_with_exit_check`

I think this is exactly what happened in the problem described in the first place. 
... -> SafepointMechanism::process_if_requested_with_exit_check -> SafepointSynchronize::block ->   ttyLocker::break_tty_lock_for_safepoint

ttylocker may quietly get released inside of ciMetadata::print_metadata. it's not thread-safe until you regain ttylock.

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

PR: https://git.openjdk.java.net/jdk/pull/8203


More information about the hotspot-compiler-dev mailing list