public class com.sun.tools.example.debug.bdi.ThreadInfo
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.example.debug.bdi.ThreadInfo
super_class: java.lang.Object
{
private com.sun.jdi.ThreadReference thread;
descriptor: Lcom/sun/jdi/ThreadReference;
flags: (0x0002) ACC_PRIVATE
private int status;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int frameCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
java.lang.Object userObject;
descriptor: Ljava/lang/Object;
flags: (0x0000)
private boolean interrupted;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private void assureInterrupted();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.bdi.ThreadInfo.interrupted:Z
ifne 2
1: new com.sun.tools.example.debug.bdi.VMNotInterruptedException
dup
invokespecial com.sun.tools.example.debug.bdi.VMNotInterruptedException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/bdi/ThreadInfo;
Exceptions:
throws com.sun.tools.example.debug.bdi.VMNotInterruptedException
void <init>(com.sun.jdi.ThreadReference);
descriptor: (Lcom/sun/jdi/ThreadReference;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.tools.example.debug.bdi.ThreadInfo.interrupted:Z
2: aload 0
aload 1
putfield com.sun.tools.example.debug.bdi.ThreadInfo.thread:Lcom/sun/jdi/ThreadReference;
3: aload 0
iconst_m1
putfield com.sun.tools.example.debug.bdi.ThreadInfo.frameCount:I
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/example/debug/bdi/ThreadInfo;
0 5 1 thread Lcom/sun/jdi/ThreadReference;
MethodParameters:
Name Flags
thread
public com.sun.jdi.ThreadReference thread();
descriptor: ()Lcom/sun/jdi/ThreadReference;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.bdi.ThreadInfo.thread:Lcom/sun/jdi/ThreadReference;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/bdi/ThreadInfo;
public int getStatus();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.example.debug.bdi.ThreadInfo.assureInterrupted:()V
1: aload 0
invokevirtual com.sun.tools.example.debug.bdi.ThreadInfo.update:()V
2: aload 0
getfield com.sun.tools.example.debug.bdi.ThreadInfo.status:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/bdi/ThreadInfo;
Exceptions:
throws com.sun.tools.example.debug.bdi.VMNotInterruptedException
public int getFrameCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.example.debug.bdi.ThreadInfo.assureInterrupted:()V
1: aload 0
invokevirtual com.sun.tools.example.debug.bdi.ThreadInfo.update:()V
2: aload 0
getfield com.sun.tools.example.debug.bdi.ThreadInfo.frameCount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/bdi/ThreadInfo;
Exceptions:
throws com.sun.tools.example.debug.bdi.VMNotInterruptedException
public com.sun.jdi.StackFrame getFrame(int);
descriptor: (I)Lcom/sun/jdi/StackFrame;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.tools.example.debug.bdi.ThreadInfo.assureInterrupted:()V
1: aload 0
invokevirtual com.sun.tools.example.debug.bdi.ThreadInfo.update:()V
2: aload 0
getfield com.sun.tools.example.debug.bdi.ThreadInfo.thread:Lcom/sun/jdi/ThreadReference;
iload 1
invokeinterface com.sun.jdi.ThreadReference.frame:(I)Lcom/sun/jdi/StackFrame;
3: areturn
4: StackMap locals:
StackMap stack: com.sun.jdi.IncompatibleThreadStateException
pop
5: aload 0
iconst_0
putfield com.sun.tools.example.debug.bdi.ThreadInfo.interrupted:Z
6: new com.sun.tools.example.debug.bdi.VMNotInterruptedException
dup
invokespecial com.sun.tools.example.debug.bdi.VMNotInterruptedException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/example/debug/bdi/ThreadInfo;
0 7 1 index I
Exception table:
from to target type
2 3 4 Class com.sun.jdi.IncompatibleThreadStateException
Exceptions:
throws com.sun.tools.example.debug.bdi.VMNotInterruptedException
MethodParameters:
Name Flags
index
public java.lang.Object getUserObject();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.bdi.ThreadInfo.userObject:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/bdi/ThreadInfo;
public void setUserObject(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.tools.example.debug.bdi.ThreadInfo.userObject:Ljava/lang/Object;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/bdi/ThreadInfo;
0 2 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
void update();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.bdi.ThreadInfo.frameCount:I
iconst_m1
if_icmpne 7
1: aload 0
aload 0
getfield com.sun.tools.example.debug.bdi.ThreadInfo.thread:Lcom/sun/jdi/ThreadReference;
invokeinterface com.sun.jdi.ThreadReference.status:()I
putfield com.sun.tools.example.debug.bdi.ThreadInfo.status:I
2: aload 0
aload 0
getfield com.sun.tools.example.debug.bdi.ThreadInfo.thread:Lcom/sun/jdi/ThreadReference;
invokeinterface com.sun.jdi.ThreadReference.frameCount:()I
putfield com.sun.tools.example.debug.bdi.ThreadInfo.frameCount:I
3: goto 7
StackMap locals:
StackMap stack: com.sun.jdi.IncompatibleThreadStateException
4: pop
5: aload 0
iconst_0
putfield com.sun.tools.example.debug.bdi.ThreadInfo.interrupted:Z
6: new com.sun.tools.example.debug.bdi.VMNotInterruptedException
dup
invokespecial com.sun.tools.example.debug.bdi.VMNotInterruptedException.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/example/debug/bdi/ThreadInfo;
Exception table:
from to target type
1 3 4 Class com.sun.jdi.IncompatibleThreadStateException
Exceptions:
throws com.sun.tools.example.debug.bdi.VMNotInterruptedException
void validate();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield com.sun.tools.example.debug.bdi.ThreadInfo.interrupted:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/bdi/ThreadInfo;
void invalidate();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield com.sun.tools.example.debug.bdi.ThreadInfo.interrupted:Z
1: aload 0
iconst_m1
putfield com.sun.tools.example.debug.bdi.ThreadInfo.frameCount:I
2: aload 0
iconst_m1
putfield com.sun.tools.example.debug.bdi.ThreadInfo.status:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/example/debug/bdi/ThreadInfo;
}
SourceFile: "ThreadInfo.java"