RFR: 8284828: Use `os::ThreadCrashProtection` to protect AsyncGetCallTrace from crashing [v2]
Johannes Bechberger
duke at openjdk.java.net
Wed Apr 13 15:41:49 UTC 2022
On Wed, 13 Apr 2022 15:36:05 GMT, Johannes Bechberger <duke at openjdk.java.net> wrote:
>> src/hotspot/share/prims/forte.cpp line 674:
>>
>>> 672: os::ThreadCrashProtection crash_protection;
>>> 673: if (!crash_protection.call(cb)) {
>>> 674: if (trace->num_frames < -10 || trace->num_frames >= 0) {
>>
>> Where does this -10 come from?
>
> it is the lowest error code
I removed it, an invalid error code should never happen.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8225
More information about the hotspot-dev
mailing list