RFR: 8283849: AsyncGetCallTrace may crash JVM on guarantee [v6]

Jaroslav Bachorik jbachorik at openjdk.java.net
Mon May 16 09:51:45 UTC 2022


On Sat, 7 May 2022 04:59:44 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> Jaroslav Bachorik has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
>> 
>>   Move 'in_asgct' flag to JavaThread
>
> src/hotspot/share/prims/forte.cpp line 594:
> 
>> 592:   }
>> 593: 
>> 594:   thread->set_in_asgct(true);
> 
> Suggestion: Use a small RAII Mark object instead. That way you prevent future errors if someone should add a return in the mids of AGCT.

Done

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

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


More information about the hotspot-dev mailing list