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

Tobias Hartmann thartmann at openjdk.java.net
Thu Apr 21 07:28:27 UTC 2022


On Wed, 20 Apr 2022 17:28:52 GMT, Xin Liu <xliu at openjdk.org> wrote:

> I think this is exactly what happened in the problem described in the first place.

Yes, at least that's the failure mode that @tobiasholenstein was observing.

> If the problem is the native --> VM transition while holding the tty lock, then how about if we enter VM mode first, then grab the tty lock?

I think that would work but only if there are no other safepoint checks hiding somewhere in these methods.

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

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


More information about the hotspot-compiler-dev mailing list