RFR: 8284274: Error reporting crashes because missing ResourceMarks
Coleen Phillimore
coleenp at openjdk.java.net
Tue Apr 12 14:22:49 UTC 2022
On Tue, 12 Apr 2022 13:36:55 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
>> Maybe "// 14 - SIGSEGV" in vmError.cpp?
>
> See runtime/ErrorHandling/SecondaryErrorTest.java, it is fed into VMError::controlled_crash().
>
> That test crashes the VM first with one signal, then inside the error handler with a second, different, signal, to test that the second error signal was correctly unblocked or left unblocked. Otherwise, the VM would just disappear.
Yes, the 14 comes with the test. Nothing else queries the value of TestCrashInErrorHandler or passes anything but 14 or now in my test, 2.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8201
More information about the hotspot-dev
mailing list