[jdk17u-dev] RFR: 8285794: AsyncGetCallTrace might acquire a lock via JavaThread::thread_from_jni_environment
    Johannes Bechberger 
    duke at openjdk.org
       
    Mon Nov 14 08:27:07 UTC 2022
    
    
  
On Fri, 11 Nov 2022 12:15:57 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:
>> Fixes the minor possibility of ASGCT acquiring a lock.
>> 
>> Tested using my jdk profiling tester.
>
> src/hotspot/share/prims/forte.cpp line 532:
> 
>> 530: 
>> 531:   if (trace->env_id == NULL || raw_thread == NULL || !raw_thread->is_Java_thread() ||
>> 532:      (thread = ((JavaThread*)raw_thread))->is_exiting()) {
> 
> One minor diff: indentation
What is the problem with this indentation?
-------------
PR: https://git.openjdk.org/jdk17u-dev/pull/725
    
    
More information about the jdk-updates-dev
mailing list