RFR: 8283849: AsyncGetCallTrace may crash JVM on guarantee [v6]
David Holmes
dholmes at openjdk.java.net
Fri May 6 23:14:39 UTC 2022
On Fri, 6 May 2022 20:17:53 GMT, Dean Long <dlong 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
>
> It seems like you should be able to mitigate the extra overhead by only doing that extra work when we actually see a zombie method, which should be rare.
Yes good point @dean-long ! Check for the zombie first and only then do the expensive Thread::current_or_null_safe() etc.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8549
More information about the serviceability-dev
mailing list