RFR: 8284828: Use `os::ThreadCrashProtection` to protect AsyncGetCallTrace from crashing [v2]

Johannes Bechberger duke at openjdk.java.net
Wed Apr 13 15:41:48 UTC 2022


On Wed, 13 Apr 2022 15:18:15 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> Johannes Bechberger has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Check for Thread::current_or_null_safe and other stuff
>
> 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

-------------

PR: https://git.openjdk.java.net/jdk/pull/8225


More information about the hotspot-dev mailing list