Description
No diagnostics are available for this issue, furthermore the issue will be very hard to reproduce unless running on the z/TPF platform. The primary reason is how the z/TPF scheduler works compared to other platforms in that it drives different timing scenarios.
However, the good news is the general problem area has been identified. Below are the two areas that require some kind of synchronization.
openj9/runtime/jvmti/jvmtiHook.c
Lines 2919 to 2925 in 50425f8
openj9/runtime/jvmti/jvmtiStartup.c
Lines 1026 to 1077 in 50425f8
The problem encountered is that the nativeLibrary linked list is in the middle of being cleaned up by JVMTI shutdown processing while simultaneously being accessed in jvmtiHook. The simultaneous access leads to undefined behavior.