A fatal crash on a second thread causes the thread to sleep infinitely[1] while error reporting continues on the first crashing thread. The same should be done for reporting fatal crashes in libjvmci.
[1] https://github.com/openjdk/jdk/blob/d6eddcdaf92f2352266ba519608879141997cd63/src/hotspot/share/utilities/vmError.cpp#L1709-L1718
[1] https://github.com/openjdk/jdk/blob/d6eddcdaf92f2352266ba519608879141997cd63/src/hotspot/share/utilities/vmError.cpp#L1709-L1718
- links to
-
Commit(master) openjdk/jdk/98403b75
-
Review(master) openjdk/jdk/21646