public class sun.jvm.hotspot.runtime.ObjectMonitor extends sun.jvm.hotspot.runtime.VMObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.runtime.ObjectMonitor
super_class: sun.jvm.hotspot.runtime.VMObject
{
private static sun.jvm.hotspot.oops.ObjectHeap heap;
descriptor: Lsun/jvm/hotspot/oops/ObjectHeap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long ;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long objectFieldOffset;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long ownerFieldOffset;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long FreeNextFieldOffset;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.JIntField countField;
descriptor: Lsun/jvm/hotspot/types/JIntField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.JIntField waitersField;
descriptor: Lsun/jvm/hotspot/types/JIntField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.CIntegerField recursionsField;
descriptor: Lsun/jvm/hotspot/types/CIntegerField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new sun.jvm.hotspot.runtime.ObjectMonitor$1
dup
invokespecial sun.jvm.hotspot.runtime.ObjectMonitor$1.<init>:()V
invokestatic sun.jvm.hotspot.runtime.VM.registerVMInitializedObserver:(Ljava/util/Observer;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
private static synchronized void initialize(sun.jvm.hotspot.types.TypeDataBase);
descriptor: (Lsun/jvm/hotspot/types/TypeDataBase;)V
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=1
start local 0 0: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getObjectHeap:()Lsun/jvm/hotspot/oops/ObjectHeap;
putstatic sun.jvm.hotspot.runtime.ObjectMonitor.heap:Lsun/jvm/hotspot/oops/ObjectHeap;
1: aload 0
ldc "ObjectMonitor"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupType:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Type;
astore 1
start local 1 2: aload 1
ldc "_header"
invokeinterface sun.jvm.hotspot.types.Type.getField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Field;
astore 2
start local 2 3: aload 2
invokeinterface sun.jvm.hotspot.types.Field.getOffset:()J
putstatic sun.jvm.hotspot.runtime.ObjectMonitor.headerFieldOffset:J
4: aload 1
ldc "_object"
invokeinterface sun.jvm.hotspot.types.Type.getField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Field;
astore 2
5: aload 2
invokeinterface sun.jvm.hotspot.types.Field.getOffset:()J
putstatic sun.jvm.hotspot.runtime.ObjectMonitor.objectFieldOffset:J
6: aload 1
ldc "_owner"
invokeinterface sun.jvm.hotspot.types.Type.getField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Field;
astore 2
7: aload 2
invokeinterface sun.jvm.hotspot.types.Field.getOffset:()J
putstatic sun.jvm.hotspot.runtime.ObjectMonitor.ownerFieldOffset:J
8: aload 1
ldc "FreeNext"
invokeinterface sun.jvm.hotspot.types.Type.getField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Field;
astore 2
9: aload 2
invokeinterface sun.jvm.hotspot.types.Field.getOffset:()J
putstatic sun.jvm.hotspot.runtime.ObjectMonitor.FreeNextFieldOffset:J
10: aload 1
ldc "_count"
invokeinterface sun.jvm.hotspot.types.Type.getJIntField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/JIntField;
putstatic sun.jvm.hotspot.runtime.ObjectMonitor.countField:Lsun/jvm/hotspot/types/JIntField;
11: aload 1
ldc "_waiters"
invokeinterface sun.jvm.hotspot.types.Type.getJIntField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/JIntField;
putstatic sun.jvm.hotspot.runtime.ObjectMonitor.waitersField:Lsun/jvm/hotspot/types/JIntField;
12: aload 1
ldc "_recursions"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
putstatic sun.jvm.hotspot.runtime.ObjectMonitor.recursionsField:Lsun/jvm/hotspot/types/CIntegerField;
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 db Lsun/jvm/hotspot/types/TypeDataBase;
2 14 1 type Lsun/jvm/hotspot/types/Type;
3 14 2 f Lsun/jvm/hotspot/types/Field;
Exceptions:
throws sun.jvm.hotspot.types.WrongTypeException
MethodParameters:
Name Flags
db
public void <init>(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.jvm.hotspot.runtime.VMObject.<init>:(Lsun/jvm/hotspot/debugger/Address;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/runtime/ObjectMonitor;
0 2 1 addr Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
addr
public sun.jvm.hotspot.oops.Mark ();
descriptor: ()Lsun/jvm/hotspot/oops/Mark;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new sun.jvm.hotspot.oops.Mark
dup
aload 0
getfield sun.jvm.hotspot.runtime.ObjectMonitor.addr:Lsun/jvm/hotspot/debugger/Address;
getstatic sun.jvm.hotspot.runtime.ObjectMonitor.headerFieldOffset:J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
invokespecial sun.jvm.hotspot.oops.Mark.<init>:(Lsun/jvm/hotspot/debugger/Address;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/ObjectMonitor;
public boolean isEntered(sun.jvm.hotspot.runtime.Thread);
descriptor: (Lsun/jvm/hotspot/runtime/Thread;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.runtime.ObjectMonitor.owner:()Lsun/jvm/hotspot/debugger/Address;
astore 2
start local 2 1: aload 1
invokevirtual sun.jvm.hotspot.runtime.Thread.threadObjectAddress:()Lsun/jvm/hotspot/debugger/Address;
aload 2
invokeinterface sun.jvm.hotspot.debugger.Address.equals:(Ljava/lang/Object;)Z
ifne 3
2: aload 1
aload 2
invokevirtual sun.jvm.hotspot.runtime.Thread.isLockOwned:(Lsun/jvm/hotspot/debugger/Address;)Z
ifeq 4
3: StackMap locals: sun.jvm.hotspot.debugger.Address
StackMap stack:
iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/runtime/ObjectMonitor;
0 5 1 current Lsun/jvm/hotspot/runtime/Thread;
1 5 2 o Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
current
public sun.jvm.hotspot.debugger.Address owner();
descriptor: ()Lsun/jvm/hotspot/debugger/Address;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.runtime.ObjectMonitor.addr:Lsun/jvm/hotspot/debugger/Address;
getstatic sun.jvm.hotspot.runtime.ObjectMonitor.ownerFieldOffset:J
invokeinterface sun.jvm.hotspot.debugger.Address.getAddressAt:(J)Lsun/jvm/hotspot/debugger/Address;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/ObjectMonitor;
public int waiters();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.runtime.ObjectMonitor.waitersField:Lsun/jvm/hotspot/types/JIntField;
aload 0
getfield sun.jvm.hotspot.runtime.ObjectMonitor.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.JIntField.getValue:(Lsun/jvm/hotspot/debugger/Address;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/ObjectMonitor;
public sun.jvm.hotspot.debugger.Address freeNext();
descriptor: ()Lsun/jvm/hotspot/debugger/Address;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.runtime.ObjectMonitor.addr:Lsun/jvm/hotspot/debugger/Address;
getstatic sun.jvm.hotspot.runtime.ObjectMonitor.FreeNextFieldOffset:J
invokeinterface sun.jvm.hotspot.debugger.Address.getAddressAt:(J)Lsun/jvm/hotspot/debugger/Address;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/ObjectMonitor;
public int count();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.runtime.ObjectMonitor.countField:Lsun/jvm/hotspot/types/JIntField;
aload 0
getfield sun.jvm.hotspot.runtime.ObjectMonitor.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.JIntField.getValue:(Lsun/jvm/hotspot/debugger/Address;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/ObjectMonitor;
public long recursions();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.runtime.ObjectMonitor.recursionsField:Lsun/jvm/hotspot/types/CIntegerField;
aload 0
getfield sun.jvm.hotspot.runtime.ObjectMonitor.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.CIntegerField.getValue:(Lsun/jvm/hotspot/debugger/Address;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/ObjectMonitor;
public sun.jvm.hotspot.debugger.OopHandle object();
descriptor: ()Lsun/jvm/hotspot/debugger/OopHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.runtime.ObjectMonitor.addr:Lsun/jvm/hotspot/debugger/Address;
getstatic sun.jvm.hotspot.runtime.ObjectMonitor.objectFieldOffset:J
invokeinterface sun.jvm.hotspot.debugger.Address.getOopHandleAt:(J)Lsun/jvm/hotspot/debugger/OopHandle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/ObjectMonitor;
public int contentions();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.runtime.ObjectMonitor.count:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/ObjectMonitor;
}
SourceFile: "ObjectMonitor.java"
NestMembers:
sun.jvm.hotspot.runtime.ObjectMonitor$1
InnerClasses:
sun.jvm.hotspot.runtime.ObjectMonitor$1