The original problem was introduced with:
JDK-8313251 - Add NativeLibraryLoad event
The first attempt at resolution:
JDK-8315220 - Event NativeLibraryLoad breaks invariant by taking a stacktrace when thread is in state _thread_in_native
was reverted:
JDK-8315930 - Revert "8315220: Event NativeLibraryLoad breaks invariant by taking a stacktrace when thread is in state _thread_in_native"
because it ran into:
JDK-8315892 - NativeLibraryLoadEvent dtr fails with "assert(false) failed: Possible safepoint reached by thread that does not allow it"
The reason forJDK-8315892 was that the thread loading the zip library, in thread state native, was the owner of the Zip_lock mutex. This prevented it from transitioning to thread_in_vm.
The Zip_lock mutex was removed as part of:
JDK-8317951 - Refactor loading of zip library to help resolve JDK-8315220
Therefore, it is time to redo the originalJDK-8315220, now under this issue, JDK-8319206.
The first attempt at resolution:
was reverted:
because it ran into:
The reason for
The Zip_lock mutex was removed as part of:
Therefore, it is time to redo the original
- relates to
-
JDK-8320959 jdk/jfr/event/runtime/TestShutdownEvent.java crash with CONF=fastdebug -Xcomp
-
- Closed
-