public class sun.management.counter.perf.PerfInstrumentation
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.management.counter.perf.PerfInstrumentation
super_class: java.lang.Object
{
private java.nio.ByteBuffer buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private sun.management.counter.perf.Prologue prologue;
descriptor: Lsun/management/counter/perf/Prologue;
flags: (0x0002) ACC_PRIVATE
private long lastModificationTime;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long lastUsed;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private int nextEntry;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.SortedMap<java.lang.String, sun.management.counter.Counter> map;
descriptor: Ljava/util/SortedMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/SortedMap<Ljava/lang/String;Lsun/management/counter/Counter;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lsun/management/counter/perf/PerfInstrumentation;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.management.counter.perf.PerfInstrumentation.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new sun.management.counter.perf.Prologue
dup
aload 1
invokespecial sun.management.counter.perf.Prologue.<init>:(Ljava/nio/ByteBuffer;)V
putfield sun.management.counter.perf.PerfInstrumentation.prologue:Lsun/management/counter/perf/Prologue;
2: aload 0
aload 1
putfield sun.management.counter.perf.PerfInstrumentation.buffer:Ljava/nio/ByteBuffer;
3: aload 0
getfield sun.management.counter.perf.PerfInstrumentation.buffer:Ljava/nio/ByteBuffer;
aload 0
getfield sun.management.counter.perf.PerfInstrumentation.prologue:Lsun/management/counter/perf/Prologue;
invokevirtual sun.management.counter.perf.Prologue.getByteOrder:()Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
pop
4: aload 0
invokevirtual sun.management.counter.perf.PerfInstrumentation.getMajorVersion:()I
istore 2
start local 2 5: aload 0
invokevirtual sun.management.counter.perf.PerfInstrumentation.getMinorVersion:()I
istore 3
start local 3 6: iload 2
iconst_2
if_icmpge 10
7: new sun.management.counter.perf.InstrumentationException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported version: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial sun.management.counter.perf.InstrumentationException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: sun.management.counter.perf.PerfInstrumentation java.nio.ByteBuffer int int
StackMap stack:
aload 0
invokevirtual sun.management.counter.perf.PerfInstrumentation.rewind:()V
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/management/counter/perf/PerfInstrumentation;
0 12 1 b Ljava/nio/ByteBuffer;
5 12 2 major I
6 12 3 minor I
MethodParameters:
Name Flags
b
public int getMajorVersion();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.counter.perf.PerfInstrumentation.prologue:Lsun/management/counter/perf/Prologue;
invokevirtual sun.management.counter.perf.Prologue.getMajorVersion:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/counter/perf/PerfInstrumentation;
public int getMinorVersion();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.counter.perf.PerfInstrumentation.prologue:Lsun/management/counter/perf/Prologue;
invokevirtual sun.management.counter.perf.Prologue.getMinorVersion:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/counter/perf/PerfInstrumentation;
public long getModificationTimeStamp();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.counter.perf.PerfInstrumentation.prologue:Lsun/management/counter/perf/Prologue;
invokevirtual sun.management.counter.perf.Prologue.getModificationTimeStamp:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/counter/perf/PerfInstrumentation;
void rewind();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.counter.perf.PerfInstrumentation.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.rewind:()Ljava/nio/ByteBuffer;
pop
1: aload 0
getfield sun.management.counter.perf.PerfInstrumentation.buffer:Ljava/nio/ByteBuffer;
aload 0
getfield sun.management.counter.perf.PerfInstrumentation.prologue:Lsun/management/counter/perf/Prologue;
invokevirtual sun.management.counter.perf.Prologue.getEntryOffset:()I
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
2: aload 0
aload 0
getfield sun.management.counter.perf.PerfInstrumentation.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
putfield sun.management.counter.perf.PerfInstrumentation.nextEntry:I
3: aload 0
new java.util.TreeMap
dup
invokespecial java.util.TreeMap.<init>:()V
putfield sun.management.counter.perf.PerfInstrumentation.map:Ljava/util/SortedMap;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/management/counter/perf/PerfInstrumentation;
boolean hasNext();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.counter.perf.PerfInstrumentation.nextEntry:I
aload 0
getfield sun.management.counter.perf.PerfInstrumentation.prologue:Lsun/management/counter/perf/Prologue;
invokevirtual sun.management.counter.perf.Prologue.getUsed:()I
if_icmpge 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/management/counter/perf/PerfInstrumentation;
sun.management.counter.Counter getNextCounter();
descriptor: ()Lsun/management/counter/Counter;
flags: (0x0000)
Code:
stack=8, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual sun.management.counter.perf.PerfInstrumentation.hasNext:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.management.counter.perf.PerfInstrumentation.nextEntry:I
iconst_4
irem
ifeq 6
3: new sun.management.counter.perf.InstrumentationException
dup
4: new java.lang.StringBuilder
dup
ldc "Entry index not properly aligned: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.management.counter.perf.PerfInstrumentation.nextEntry:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial sun.management.counter.perf.InstrumentationException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.management.counter.perf.PerfInstrumentation.nextEntry:I
iflt 7
aload 0
getfield sun.management.counter.perf.PerfInstrumentation.nextEntry:I
aload 0
getfield sun.management.counter.perf.PerfInstrumentation.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
if_icmple 12
7: StackMap locals:
StackMap stack:
new sun.management.counter.perf.InstrumentationException
dup
8: new java.lang.StringBuilder
dup
ldc "Entry index out of bounds: nextEntry = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.management.counter.perf.PerfInstrumentation.nextEntry:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
9: ldc ", limit = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.management.counter.perf.PerfInstrumentation.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
10: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial sun.management.counter.perf.InstrumentationException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
getfield sun.management.counter.perf.PerfInstrumentation.buffer:Ljava/nio/ByteBuffer;
aload 0
getfield sun.management.counter.perf.PerfInstrumentation.nextEntry:I
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
13: new sun.management.counter.perf.PerfDataEntry
dup
aload 0
getfield sun.management.counter.perf.PerfInstrumentation.buffer:Ljava/nio/ByteBuffer;
invokespecial sun.management.counter.perf.PerfDataEntry.<init>:(Ljava/nio/ByteBuffer;)V
astore 1
start local 1 14: aload 0
dup
getfield sun.management.counter.perf.PerfInstrumentation.nextEntry:I
aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.size:()I
iadd
putfield sun.management.counter.perf.PerfInstrumentation.nextEntry:I
15: aconst_null
astore 2
start local 2 16: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.type:()Lsun/management/counter/perf/PerfDataType;
astore 3
start local 3 17: aload 3
getstatic sun.management.counter.perf.PerfDataType.BYTE:Lsun/management/counter/perf/PerfDataType;
if_acmpne 36
18: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.units:()Lsun/management/counter/Units;
getstatic sun.management.counter.Units.STRING:Lsun/management/counter/Units;
if_acmpne 26
aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.vectorLength:()I
ifle 26
19: new sun.management.counter.perf.PerfStringCounter
dup
aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.name:()Ljava/lang/String;
20: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.variability:()Lsun/management/counter/Variability;
21: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.flags:()I
22: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.vectorLength:()I
23: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.byteData:()Ljava/nio/ByteBuffer;
24: invokespecial sun.management.counter.perf.PerfStringCounter.<init>:(Ljava/lang/String;Lsun/management/counter/Variability;IILjava/nio/ByteBuffer;)V
astore 2
25: goto 54
StackMap locals: sun.management.counter.perf.PerfDataEntry sun.management.counter.Counter sun.management.counter.perf.PerfDataType
StackMap stack:
26: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.vectorLength:()I
ifle 35
27: new sun.management.counter.perf.PerfByteArrayCounter
dup
aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.name:()Ljava/lang/String;
28: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.units:()Lsun/management/counter/Units;
29: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.variability:()Lsun/management/counter/Variability;
30: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.flags:()I
31: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.vectorLength:()I
32: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.byteData:()Ljava/nio/ByteBuffer;
33: invokespecial sun.management.counter.perf.PerfByteArrayCounter.<init>:(Ljava/lang/String;Lsun/management/counter/Units;Lsun/management/counter/Variability;IILjava/nio/ByteBuffer;)V
astore 2
34: goto 54
35: StackMap locals:
StackMap stack:
getstatic sun.management.counter.perf.PerfInstrumentation.$assertionsDisabled:Z
ifne 54
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
36: StackMap locals:
StackMap stack:
aload 3
getstatic sun.management.counter.perf.PerfDataType.LONG:Lsun/management/counter/perf/PerfDataType;
if_acmpne 53
37: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.vectorLength:()I
ifne 45
38: new sun.management.counter.perf.PerfLongCounter
dup
aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.name:()Ljava/lang/String;
39: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.units:()Lsun/management/counter/Units;
40: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.variability:()Lsun/management/counter/Variability;
41: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.flags:()I
42: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.longData:()Ljava/nio/LongBuffer;
43: invokespecial sun.management.counter.perf.PerfLongCounter.<init>:(Ljava/lang/String;Lsun/management/counter/Units;Lsun/management/counter/Variability;ILjava/nio/LongBuffer;)V
astore 2
44: goto 54
45: StackMap locals:
StackMap stack:
new sun.management.counter.perf.PerfLongArrayCounter
dup
aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.name:()Ljava/lang/String;
46: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.units:()Lsun/management/counter/Units;
47: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.variability:()Lsun/management/counter/Variability;
48: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.flags:()I
49: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.vectorLength:()I
50: aload 1
invokevirtual sun.management.counter.perf.PerfDataEntry.longData:()Ljava/nio/LongBuffer;
51: invokespecial sun.management.counter.perf.PerfLongArrayCounter.<init>:(Ljava/lang/String;Lsun/management/counter/Units;Lsun/management/counter/Variability;IILjava/nio/LongBuffer;)V
astore 2
52: goto 54
53: StackMap locals:
StackMap stack:
getstatic sun.management.counter.perf.PerfInstrumentation.$assertionsDisabled:Z
ifne 54
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
54: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 55 0 this Lsun/management/counter/perf/PerfInstrumentation;
14 55 1 entry Lsun/management/counter/perf/PerfDataEntry;
16 55 2 counter Lsun/management/counter/Counter;
17 55 3 type Lsun/management/counter/perf/PerfDataType;
public synchronized java.util.List<sun.management.counter.Counter> getAllCounters();
descriptor: ()Ljava/util/List;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: goto 4
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.management.counter.perf.PerfInstrumentation.getNextCounter:()Lsun/management/counter/Counter;
astore 1
start local 1 2: aload 1
ifnull 4
3: aload 0
getfield sun.management.counter.perf.PerfInstrumentation.map:Ljava/util/SortedMap;
aload 1
invokeinterface sun.management.counter.Counter.getName:()Ljava/lang/String;
aload 1
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 1 4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.management.counter.perf.PerfInstrumentation.hasNext:()Z
ifne 1
5: new java.util.ArrayList
dup
aload 0
getfield sun.management.counter.perf.PerfInstrumentation.map:Ljava/util/SortedMap;
invokeinterface java.util.SortedMap.values:()Ljava/util/Collection;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/management/counter/perf/PerfInstrumentation;
2 4 1 c Lsun/management/counter/Counter;
Signature: ()Ljava/util/List<Lsun/management/counter/Counter;>;
public synchronized java.util.List<sun.management.counter.Counter> findByPattern(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: goto 4
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.management.counter.perf.PerfInstrumentation.getNextCounter:()Lsun/management/counter/Counter;
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 0
getfield sun.management.counter.perf.PerfInstrumentation.map:Ljava/util/SortedMap;
aload 2
invokeinterface sun.management.counter.Counter.getName:()Ljava/lang/String;
aload 2
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.management.counter.perf.PerfInstrumentation.hasNext:()Z
ifne 1
5: aload 1
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
astore 2
start local 2 6: aload 2
ldc ""
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 3
start local 3 7: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 8: aload 0
getfield sun.management.counter.perf.PerfInstrumentation.map:Ljava/util/SortedMap;
invokeinterface java.util.SortedMap.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 14
StackMap locals: sun.management.counter.perf.PerfInstrumentation java.lang.String java.util.regex.Pattern java.util.regex.Matcher java.util.List top java.util.Iterator
StackMap stack:
9: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 5
start local 5 10: aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 11: aload 3
aload 7
invokevirtual java.util.regex.Matcher.reset:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
pop
12: aload 3
invokevirtual java.util.regex.Matcher.lookingAt:()Z
ifeq 14
13: aload 4
aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast sun.management.counter.Counter
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 5 14: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
15: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/management/counter/perf/PerfInstrumentation;
0 16 1 patternString Ljava/lang/String;
2 4 2 c Lsun/management/counter/Counter;
6 16 2 pattern Ljava/util/regex/Pattern;
7 16 3 matcher Ljava/util/regex/Matcher;
8 16 4 matches Ljava/util/List<Lsun/management/counter/Counter;>;
10 14 5 me Ljava/util/Map$Entry<Ljava/lang/String;Lsun/management/counter/Counter;>;
11 14 7 name Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/List<Lsun/management/counter/Counter;>;
MethodParameters:
Name Flags
patternString
}
SourceFile: "PerfInstrumentation.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map