A JavaThread running in state _thread_in_native cannot capture a JFR stack trace because tagging of artefacts (klasses, methods, etc.) is a function of an epoch, which evolves during safepoints.
Currently, no assertions are in place for this invariant, so they should be added.
Currently, no assertions are in place for this invariant, so they should be added.
- relates to
-
JDK-8315220 Event NativeLibraryLoad breaks invariant by taking a stacktrace when thread is in state _thread_in_native
- Resolved
-
JDK-8313251 Add NativeLibraryLoad event
- Resolved