RFR: JDK-8277056: Combining several C2 Print* flags asserts in xmlStream::pop_tag
Tobias Hartmann
thartmann at openjdk.java.net
Wed Apr 20 06:04:21 UTC 2022
On Wed, 20 Apr 2022 02:20:58 GMT, Dean Long <dlong at openjdk.org> wrote:
> So is it really necessary for these functions to block for a safepoint?
Isn't it just convention that a thread in native mode checks for a safepoint request when transitioning to VM mode? I.e. in this case via: `ciMetadata::print_metadata` -> `GUARDED_VM_ENTRY` -> `VM_ENTRY_MARK` -> `ThreadInVMfromNative` -> `transition_from_native` -> `SafepointMechanism::process_if_requested_with_exit_check`.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8203
More information about the hotspot-compiler-dev
mailing list