RFR: 8343741: SA jstack --mixed should print information about VM locks [v3]
    Leonid Mesnik 
    lmesnik at openjdk.org
       
    Mon Nov 18 20:00:10 UTC 2024
    
    
  
On Mon, 18 Nov 2024 05:32:52 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   make test more robust
>
> src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/Mutex.java line 70:
> 
>> 68:   public String name() { return CStringUtilities.getString(addr.getAddressAt(nameFieldOffset)); }
>> 69: 
>> 70:   public Address owner() { return addr.getAddressAt(ownerFieldOffset); }
> 
> Printing the `osThread()->thread_id()` might be more useful than printing the address.
sa updated to print native id for all threads, and address
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22171#discussion_r1847167169
    
    
More information about the serviceability-dev
mailing list