public class sun.jvm.hotspot.runtime.ConcurrentLocksPrinter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.runtime.ConcurrentLocksPrinter
super_class: java.lang.Object
{
private java.util.Map<sun.jvm.hotspot.runtime.JavaThread, java.util.List<sun.jvm.hotspot.oops.Oop>> locksMap;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Lsun/jvm/hotspot/runtime/JavaThread;Ljava/util/List<Lsun/jvm/hotspot/oops/Oop;>;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.jvm.hotspot.runtime.ConcurrentLocksPrinter.locksMap:Ljava/util/Map;
2: aload 0
invokevirtual sun.jvm.hotspot.runtime.ConcurrentLocksPrinter.fillLocks:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/runtime/ConcurrentLocksPrinter;
public void print(sun.jvm.hotspot.runtime.JavaThread, java.io.PrintStream);
descriptor: (Lsun/jvm/hotspot/runtime/JavaThread;Ljava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.jvm.hotspot.runtime.ConcurrentLocksPrinter.locksMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 1: aload 2
ldc "Locked ownable synchronizers:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: aload 3
ifnull 3
aload 3
invokeinterface java.util.List.isEmpty:()Z
ifeq 5
3: StackMap locals: java.util.List
StackMap stack:
aload 2
ldc " - None"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: goto 12
5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
start local 4 6: goto 11
7: StackMap locals: java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.jvm.hotspot.oops.Oop
astore 5
start local 5 8: aload 2
new java.lang.StringBuilder
dup
ldc " - <"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual sun.jvm.hotspot.oops.Oop.getHandle:()Lsun/jvm/hotspot/debugger/OopHandle;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ">, (a "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: aload 5
invokevirtual sun.jvm.hotspot.oops.Oop.getKlass:()Lsun/jvm/hotspot/oops/Klass;
invokevirtual sun.jvm.hotspot.oops.Klass.getName:()Lsun/jvm/hotspot/oops/Symbol;
invokevirtual sun.jvm.hotspot.oops.Symbol.asString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 5 11: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
end local 4 12: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/jvm/hotspot/runtime/ConcurrentLocksPrinter;
0 13 1 jthread Lsun/jvm/hotspot/runtime/JavaThread;
0 13 2 tty Ljava/io/PrintStream;
1 13 3 locks Ljava/util/List<Lsun/jvm/hotspot/oops/Oop;>;
6 12 4 itr Ljava/util/Iterator<Lsun/jvm/hotspot/oops/Oop;>;
8 11 5 oop Lsun/jvm/hotspot/oops/Oop;
MethodParameters:
Name Flags
jthread
tty
private sun.jvm.hotspot.runtime.JavaThread getOwnerThread(sun.jvm.hotspot.oops.Oop);
descriptor: (Lsun/jvm/hotspot/oops/Oop;)Lsun/jvm/hotspot/runtime/JavaThread;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.jvm.hotspot.oops.OopUtilities.abstractOwnableSynchronizerGetOwnerThread:(Lsun/jvm/hotspot/oops/Oop;)Lsun/jvm/hotspot/oops/Oop;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: sun.jvm.hotspot.oops.Oop
StackMap stack:
aload 2
invokestatic sun.jvm.hotspot.oops.OopUtilities.threadOopGetJavaThread:(Lsun/jvm/hotspot/oops/Oop;)Lsun/jvm/hotspot/runtime/JavaThread;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/runtime/ConcurrentLocksPrinter;
0 4 1 oop Lsun/jvm/hotspot/oops/Oop;
1 4 2 threadOop Lsun/jvm/hotspot/oops/Oop;
MethodParameters:
Name Flags
oop
private void fillLocks();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=1
start local 0 0: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
astore 1
start local 1 1: aload 1
invokevirtual sun.jvm.hotspot.runtime.VM.getSystemDictionary:()Lsun/jvm/hotspot/memory/SystemDictionary;
astore 2
start local 2 2: aload 2
invokevirtual sun.jvm.hotspot.memory.SystemDictionary.getAbstractOwnableSynchronizerKlass:()Lsun/jvm/hotspot/oops/InstanceKlass;
astore 3
start local 3 3: aload 1
invokevirtual sun.jvm.hotspot.runtime.VM.getObjectHeap:()Lsun/jvm/hotspot/oops/ObjectHeap;
astore 4
start local 4 4: aload 3
ifnull 8
5: aload 4
new sun.jvm.hotspot.runtime.ConcurrentLocksPrinter$1
dup
aload 0
invokespecial sun.jvm.hotspot.runtime.ConcurrentLocksPrinter$1.<init>:(Lsun/jvm/hotspot/runtime/ConcurrentLocksPrinter;)V
6: aload 3
iconst_1
7: invokevirtual sun.jvm.hotspot.oops.ObjectHeap.iterateObjectsOfKlass:(Lsun/jvm/hotspot/oops/HeapVisitor;Lsun/jvm/hotspot/oops/Klass;Z)V
8: StackMap locals: sun.jvm.hotspot.runtime.ConcurrentLocksPrinter sun.jvm.hotspot.runtime.VM sun.jvm.hotspot.memory.SystemDictionary sun.jvm.hotspot.oops.Klass sun.jvm.hotspot.oops.ObjectHeap
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/jvm/hotspot/runtime/ConcurrentLocksPrinter;
1 9 1 vm Lsun/jvm/hotspot/runtime/VM;
2 9 2 sysDict Lsun/jvm/hotspot/memory/SystemDictionary;
3 9 3 absOwnSyncKlass Lsun/jvm/hotspot/oops/Klass;
4 9 4 heap Lsun/jvm/hotspot/oops/ObjectHeap;
}
SourceFile: "ConcurrentLocksPrinter.java"
NestMembers:
sun.jvm.hotspot.runtime.ConcurrentLocksPrinter$1
InnerClasses:
sun.jvm.hotspot.runtime.ConcurrentLocksPrinter$1