On Fri, 6 May 2022 20:17:53 GMT, Dean Long <dl...@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

Reply via email to