public class sun.jvm.hotspot.runtime.Thread 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.Thread
super_class: sun.jvm.hotspot.runtime.VMObject
{
private static long tlabFieldOffset;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.CIntegerField suspendFlagsField;
descriptor: Lsun/jvm/hotspot/types/CIntegerField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int EXTERNAL_SUSPEND;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int EXT_SUSPENDED;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int HAS_ASYNC_EXCEPTION;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.AddressField activeHandlesField;
descriptor: Lsun/jvm/hotspot/types/AddressField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.AddressField currentPendingMonitorField;
descriptor: Lsun/jvm/hotspot/types/AddressField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.AddressField currentWaitingMonitorField;
descriptor: Lsun/jvm/hotspot/types/AddressField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.JLongField allocatedBytesField;
descriptor: Lsun/jvm/hotspot/types/JLongField;
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.Thread$1
dup
invokespecial sun.jvm.hotspot.runtime.Thread$1.<init>:()V
invokestatic sun.jvm.hotspot.runtime.VM.registerVMInitializedObserver:(Lsun/jvm/hotspot/utilities/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=2, args_size=1
start local 0 0: aload 0
ldc "Thread"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupType:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Type;
astore 1
start local 1 1: aload 1
ldc "_suspend_flags"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
putstatic sun.jvm.hotspot.runtime.Thread.suspendFlagsField:Lsun/jvm/hotspot/types/CIntegerField;
2: aload 0
ldc "Thread::_external_suspend"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.runtime.Thread.EXTERNAL_SUSPEND:I
3: aload 0
ldc "Thread::_ext_suspended"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.runtime.Thread.EXT_SUSPENDED:I
4: aload 0
ldc "Thread::_has_async_exception"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.runtime.Thread.HAS_ASYNC_EXCEPTION:I
5: aload 1
ldc "_tlab"
invokeinterface sun.jvm.hotspot.types.Type.getField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Field;
invokeinterface sun.jvm.hotspot.types.Field.getOffset:()J
putstatic sun.jvm.hotspot.runtime.Thread.tlabFieldOffset:J
6: aload 1
ldc "_active_handles"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
putstatic sun.jvm.hotspot.runtime.Thread.activeHandlesField:Lsun/jvm/hotspot/types/AddressField;
7: aload 1
ldc "_current_pending_monitor"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
putstatic sun.jvm.hotspot.runtime.Thread.currentPendingMonitorField:Lsun/jvm/hotspot/types/AddressField;
8: aload 1
ldc "_current_waiting_monitor"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
putstatic sun.jvm.hotspot.runtime.Thread.currentWaitingMonitorField:Lsun/jvm/hotspot/types/AddressField;
9: aload 1
ldc "_allocated_bytes"
invokeinterface sun.jvm.hotspot.types.Type.getJLongField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/JLongField;
putstatic sun.jvm.hotspot.runtime.Thread.allocatedBytesField:Lsun/jvm/hotspot/types/JLongField;
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 db Lsun/jvm/hotspot/types/TypeDataBase;
1 11 1 type Lsun/jvm/hotspot/types/Type;
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/Thread;
0 2 1 addr Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
addr
public int suspendFlags();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.runtime.Thread.suspendFlagsField:Lsun/jvm/hotspot/types/CIntegerField;
aload 0
getfield sun.jvm.hotspot.runtime.Thread.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.CIntegerField.getValue:(Lsun/jvm/hotspot/debugger/Address;)J
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/Thread;
public boolean isExternalSuspend();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.runtime.Thread.suspendFlags:()I
getstatic sun.jvm.hotspot.runtime.Thread.EXTERNAL_SUSPEND:I
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/runtime/Thread;
public boolean isExtSuspended();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.runtime.Thread.suspendFlags:()I
getstatic sun.jvm.hotspot.runtime.Thread.EXT_SUSPENDED:I
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/runtime/Thread;
public boolean isBeingExtSuspended();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.runtime.Thread.isExtSuspended:()Z
ifne 1
aload 0
invokevirtual sun.jvm.hotspot.runtime.Thread.isExternalSuspend:()Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/runtime/Thread;
public boolean isAnySuspended();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.runtime.Thread.isExtSuspended:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/Thread;
public boolean hasAsyncException();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.runtime.Thread.suspendFlags:()I
getstatic sun.jvm.hotspot.runtime.Thread.HAS_ASYNC_EXCEPTION:I
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/runtime/Thread;
public sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer tlab();
descriptor: ()Lsun/jvm/hotspot/runtime/ThreadLocalAllocBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer
dup
aload 0
getfield sun.jvm.hotspot.runtime.Thread.addr:Lsun/jvm/hotspot/debugger/Address;
getstatic sun.jvm.hotspot.runtime.Thread.tlabFieldOffset:J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
invokespecial sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.<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/Thread;
public sun.jvm.hotspot.runtime.JNIHandleBlock activeHandles();
descriptor: ()Lsun/jvm/hotspot/runtime/JNIHandleBlock;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.runtime.Thread.activeHandlesField:Lsun/jvm/hotspot/types/AddressField;
aload 0
getfield sun.jvm.hotspot.runtime.Thread.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.AddressField.getAddress:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/Address;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: sun.jvm.hotspot.debugger.Address
StackMap stack:
new sun.jvm.hotspot.runtime.JNIHandleBlock
dup
aload 1
invokespecial sun.jvm.hotspot.runtime.JNIHandleBlock.<init>:(Lsun/jvm/hotspot/debugger/Address;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/runtime/Thread;
1 4 1 a Lsun/jvm/hotspot/debugger/Address;
public long allocatedBytes();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.runtime.Thread.allocatedBytesField:Lsun/jvm/hotspot/types/JLongField;
aload 0
getfield sun.jvm.hotspot.runtime.Thread.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.JLongField.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/Thread;
public boolean isVMThread();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/Thread;
public boolean isJavaThread();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/Thread;
public boolean isCompilerThread();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/Thread;
public boolean isCodeCacheSweeperThread();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/Thread;
public boolean isHiddenFromExternalView();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/Thread;
public boolean isJvmtiAgentThread();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/Thread;
public boolean isWatcherThread();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/Thread;
public boolean isServiceThread();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/Thread;
public void oopsDo(sun.jvm.hotspot.runtime.AddressVisitor);
descriptor: (Lsun/jvm/hotspot/runtime/AddressVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/Thread;
0 1 1 oopVisitor Lsun/jvm/hotspot/runtime/AddressVisitor;
MethodParameters:
Name Flags
oopVisitor
public sun.jvm.hotspot.runtime.ObjectMonitor getCurrentPendingMonitor();
descriptor: ()Lsun/jvm/hotspot/runtime/ObjectMonitor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.runtime.Thread.currentPendingMonitorField:Lsun/jvm/hotspot/types/AddressField;
aload 0
getfield sun.jvm.hotspot.runtime.Thread.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.AddressField.getValue:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/Address;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: sun.jvm.hotspot.debugger.Address
StackMap stack:
new sun.jvm.hotspot.runtime.ObjectMonitor
dup
aload 1
invokespecial sun.jvm.hotspot.runtime.ObjectMonitor.<init>:(Lsun/jvm/hotspot/debugger/Address;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/runtime/Thread;
1 4 1 monitorAddr Lsun/jvm/hotspot/debugger/Address;
public sun.jvm.hotspot.runtime.ObjectMonitor getCurrentWaitingMonitor();
descriptor: ()Lsun/jvm/hotspot/runtime/ObjectMonitor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.runtime.Thread.currentWaitingMonitorField:Lsun/jvm/hotspot/types/AddressField;
aload 0
getfield sun.jvm.hotspot.runtime.Thread.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.AddressField.getValue:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/Address;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: sun.jvm.hotspot.debugger.Address
StackMap stack:
new sun.jvm.hotspot.runtime.ObjectMonitor
dup
aload 1
invokespecial sun.jvm.hotspot.runtime.ObjectMonitor.<init>:(Lsun/jvm/hotspot/debugger/Address;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/runtime/Thread;
1 4 1 monitorAddr Lsun/jvm/hotspot/debugger/Address;
public boolean isLockOwned(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.jvm.hotspot.runtime.Thread.isInStack:(Lsun/jvm/hotspot/debugger/Address;)Z
ifeq 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/runtime/Thread;
0 2 1 lock Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
lock
public boolean isInStack(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/Thread;
0 1 1 a Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
a
sun.jvm.hotspot.debugger.Address threadObjectAddress();
descriptor: ()Lsun/jvm/hotspot/debugger/Address;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.runtime.Thread.addr:Lsun/jvm/hotspot/debugger/Address;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/Thread;
}
SourceFile: "Thread.java"
NestMembers:
sun.jvm.hotspot.runtime.Thread$1
InnerClasses:
sun.jvm.hotspot.runtime.Thread$1