public final class sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap
super_class: java.lang.Object
{
public static final byte mask0;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 63
public static final byte mask1;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -128
private static volatile int[] $SWITCH_TABLE$java$lang$Thread$State;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/snmp/jvminstr/JvmThreadInstanceEntryImpl$ThreadStateMap;
private static void setBit(byte[], int, byte);
descriptor: ([BIB)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 0
iload 1
baload
iload 2
ior
i2b
bastore
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 bitmap [B
0 2 1 index I
0 2 2 state B
MethodParameters:
Name Flags
bitmap
index
state
public static void setNative(byte[]);
descriptor: ([B)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
bipush -128
invokestatic sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap.setBit:([BIB)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 bitmap [B
MethodParameters:
Name Flags
bitmap
public static void setSuspended(byte[]);
descriptor: ([B)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
bipush 64
invokestatic sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap.setBit:([BIB)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 bitmap [B
MethodParameters:
Name Flags
bitmap
public static void setState(byte[], java.lang.Thread$State);
descriptor: ([BLjava/lang/Thread$State;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap.$SWITCH_TABLE$java$lang$Thread$State:()[I
aload 1
invokevirtual java.lang.Thread$State.ordinal:()I
iaload
tableswitch { // 1 - 6
1: 3
2: 5
3: 1
4: 11
5: 9
6: 7
default: 13
}
1: StackMap locals:
StackMap stack:
aload 0
iconst_0
bipush 8
invokestatic sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap.setBit:([BIB)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
iconst_0
bipush 32
invokestatic sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap.setBit:([BIB)V
4: return
5: StackMap locals:
StackMap stack:
aload 0
iconst_0
bipush 16
invokestatic sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap.setBit:([BIB)V
6: return
7: StackMap locals:
StackMap stack:
aload 0
iconst_0
iconst_4
invokestatic sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap.setBit:([BIB)V
8: return
9: StackMap locals:
StackMap stack:
aload 0
iconst_0
iconst_1
invokestatic sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap.setBit:([BIB)V
10: return
11: StackMap locals:
StackMap stack:
aload 0
iconst_0
iconst_2
invokestatic sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap.setBit:([BIB)V
12: return
13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 bitmap [B
0 14 1 state Ljava/lang/Thread$State;
MethodParameters:
Name Flags
bitmap
state
public static void checkOther(byte[]);
descriptor: ([B)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
baload
bipush 63
iand
ifne 3
1: aload 0
iconst_1
baload
bipush -128
iand
ifne 3
2: aload 0
iconst_1
bipush -128
invokestatic sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap.setBit:([BIB)V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 bitmap [B
MethodParameters:
Name Flags
bitmap
public static java.lang.Byte[] getState(java.lang.management.ThreadInfo);
descriptor: (Ljava/lang/management/ThreadInfo;)[Ljava/lang/Byte;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=1
start local 0 0: iconst_2
newarray 8
astore 1
start local 1 1: aload 0
invokevirtual java.lang.management.ThreadInfo.getThreadState:()Ljava/lang/Thread$State;
astore 2
start local 2 2: aload 0
invokevirtual java.lang.management.ThreadInfo.isInNative:()Z
istore 3
start local 3 3: aload 0
invokevirtual java.lang.management.ThreadInfo.isSuspended:()Z
istore 4
start local 4 4: getstatic sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl.log:Lsun/management/snmp/util/MibLogger;
ldc "getJvmThreadInstState"
5: new java.lang.StringBuilder
dup
ldc "[State="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
6: ldc ",isInNative="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
7: ldc ",isSuspended="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokevirtual sun.management.snmp.util.MibLogger.debug:(Ljava/lang/String;Ljava/lang/String;)V
10: aload 1
aload 2
invokestatic sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap.setState:([BLjava/lang/Thread$State;)V
11: iload 3
ifeq 12
aload 1
invokestatic sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap.setNative:([B)V
12: StackMap locals: java.lang.management.ThreadInfo byte[] java.lang.Thread$State int int
StackMap stack:
iload 4
ifeq 13
aload 1
invokestatic sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap.setSuspended:([B)V
13: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap.checkOther:([B)V
end local 4 end local 3 end local 2 14: goto 22
StackMap locals: java.lang.management.ThreadInfo byte[]
StackMap stack: java.lang.RuntimeException
15: astore 2
start local 2 16: aload 1
iconst_0
iconst_0
bastore
17: aload 1
iconst_1
bipush -128
bastore
18: getstatic sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl.log:Lsun/management/snmp/util/MibLogger;
ldc "getJvmThreadInstState"
19: new java.lang.StringBuilder
dup
ldc "Unexpected exception: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
20: invokevirtual sun.management.snmp.util.MibLogger.trace:(Ljava/lang/String;Ljava/lang/String;)V
21: getstatic sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl.log:Lsun/management/snmp/util/MibLogger;
ldc "getJvmThreadInstState"
aload 2
invokevirtual sun.management.snmp.util.MibLogger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 22: StackMap locals:
StackMap stack:
iconst_2
anewarray java.lang.Byte
dup
iconst_0
new java.lang.Byte
dup
aload 1
iconst_0
baload
invokespecial java.lang.Byte.<init>:(B)V
aastore
dup
iconst_1
new java.lang.Byte
dup
aload 1
iconst_1
baload
invokespecial java.lang.Byte.<init>:(B)V
aastore
astore 2
start local 2 23: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 info Ljava/lang/management/ThreadInfo;
1 24 1 bitmap [B
2 14 2 state Ljava/lang/Thread$State;
3 14 3 inNative Z
4 14 4 suspended Z
16 22 2 r Ljava/lang/RuntimeException;
23 24 2 result [Ljava/lang/Byte;
Exception table:
from to target type
1 14 15 Class java.lang.RuntimeException
MethodParameters:
Name Flags
info
static int[] $SWITCH_TABLE$java$lang$Thread$State();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap.$SWITCH_TABLE$java$lang$Thread$State:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic java.lang.Thread$State.values:()[Ljava/lang/Thread$State;
arraylength
newarray 10
astore 0
2: aload 0
getstatic java.lang.Thread$State.BLOCKED:Ljava/lang/Thread$State;
invokevirtual java.lang.Thread$State.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic java.lang.Thread$State.NEW:Ljava/lang/Thread$State;
invokevirtual java.lang.Thread$State.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic java.lang.Thread$State.RUNNABLE:Ljava/lang/Thread$State;
invokevirtual java.lang.Thread$State.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic java.lang.Thread$State.TERMINATED:Ljava/lang/Thread$State;
invokevirtual java.lang.Thread$State.ordinal:()I
bipush 6
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic java.lang.Thread$State.TIMED_WAITING:Ljava/lang/Thread$State;
invokevirtual java.lang.Thread$State.ordinal:()I
iconst_5
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic java.lang.Thread$State.WAITING:Ljava/lang/Thread$State;
invokevirtual java.lang.Thread$State.ordinal:()I
iconst_4
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
dup
putstatic sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap.$SWITCH_TABLE$java$lang$Thread$State:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
}
SourceFile: "JvmThreadInstanceEntryImpl.java"
NestHost: sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl
InnerClasses:
public final State = java.lang.Thread$State of java.lang.Thread
public final ThreadStateMap = sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap of sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl
public final Byte0 = sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap$Byte0 of sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap
public final Byte1 = sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap$Byte1 of sun.management.snmp.jvminstr.JvmThreadInstanceEntryImpl$ThreadStateMap