public class sun.tools.jstat.JStatLogger
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jstat.JStatLogger
super_class: java.lang.Object
{
private sun.jvmstat.monitor.MonitoredVm monitoredVm;
descriptor: Lsun/jvmstat/monitor/MonitoredVm;
flags: (0x0002) ACC_PRIVATE
private volatile boolean active;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public void <init>(sun.jvmstat.monitor.MonitoredVm);
descriptor: (Lsun/jvmstat/monitor/MonitoredVm;)V
flags: (0x0001) ACC_PUBLIC
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_1
putfield sun.tools.jstat.JStatLogger.active:Z
2: aload 0
aload 1
putfield sun.tools.jstat.JStatLogger.monitoredVm:Lsun/jvmstat/monitor/MonitoredVm;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jstat/JStatLogger;
0 4 1 monitoredVm Lsun/jvmstat/monitor/MonitoredVm;
MethodParameters:
Name Flags
monitoredVm
public void printNames(java.lang.String, java.util.Comparator<sun.jvmstat.monitor.Monitor>, boolean, java.io.PrintStream);
descriptor: (Ljava/lang/String;Ljava/util/Comparator;ZLjava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield sun.tools.jstat.JStatLogger.monitoredVm:Lsun/jvmstat/monitor/MonitoredVm;
aload 1
invokeinterface sun.jvmstat.monitor.MonitoredVm.findByPattern:(Ljava/lang/String;)Ljava/util/List;
astore 5
start local 5 1: aload 5
aload 2
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
2: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 7
StackMap locals: sun.tools.jstat.JStatLogger java.lang.String java.util.Comparator int java.io.PrintStream java.util.List top java.util.Iterator
StackMap stack:
3: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.jvmstat.monitor.Monitor
astore 6
start local 6 4: aload 6
invokeinterface sun.jvmstat.monitor.Monitor.isSupported:()Z
ifne 6
iload 3
ifne 6
5: goto 7
6: StackMap locals: sun.tools.jstat.JStatLogger java.lang.String java.util.Comparator int java.io.PrintStream java.util.List sun.jvmstat.monitor.Monitor java.util.Iterator
StackMap stack:
aload 4
aload 6
invokeinterface sun.jvmstat.monitor.Monitor.getName:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 6 7: StackMap locals: sun.tools.jstat.JStatLogger java.lang.String java.util.Comparator int java.io.PrintStream java.util.List top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/tools/jstat/JStatLogger;
0 9 1 names Ljava/lang/String;
0 9 2 comparator Ljava/util/Comparator<Lsun/jvmstat/monitor/Monitor;>;
0 9 3 showUnsupported Z
0 9 4 out Ljava/io/PrintStream;
1 9 5 items Ljava/util/List<Lsun/jvmstat/monitor/Monitor;>;
4 7 6 m Lsun/jvmstat/monitor/Monitor;
Exceptions:
throws sun.jvmstat.monitor.MonitorException, java.util.regex.PatternSyntaxException
Signature: (Ljava/lang/String;Ljava/util/Comparator<Lsun/jvmstat/monitor/Monitor;>;ZLjava/io/PrintStream;)V
MethodParameters:
Name Flags
names
comparator
showUnsupported
out
public void printSnapShot(java.lang.String, java.util.Comparator<sun.jvmstat.monitor.Monitor>, boolean, boolean, java.io.PrintStream);
descriptor: (Ljava/lang/String;Ljava/util/Comparator;ZZLjava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield sun.tools.jstat.JStatLogger.monitoredVm:Lsun/jvmstat/monitor/MonitoredVm;
aload 1
invokeinterface sun.jvmstat.monitor.MonitoredVm.findByPattern:(Ljava/lang/String;)Ljava/util/List;
astore 6
start local 6 1: aload 6
aload 2
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
2: aload 0
aload 6
iload 3
iload 4
aload 5
invokevirtual sun.tools.jstat.JStatLogger.printList:(Ljava/util/List;ZZLjava/io/PrintStream;)V
3: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jstat/JStatLogger;
0 4 1 names Ljava/lang/String;
0 4 2 comparator Ljava/util/Comparator<Lsun/jvmstat/monitor/Monitor;>;
0 4 3 verbose Z
0 4 4 showUnsupported Z
0 4 5 out Ljava/io/PrintStream;
1 4 6 items Ljava/util/List<Lsun/jvmstat/monitor/Monitor;>;
Exceptions:
throws sun.jvmstat.monitor.MonitorException, java.util.regex.PatternSyntaxException
Signature: (Ljava/lang/String;Ljava/util/Comparator<Lsun/jvmstat/monitor/Monitor;>;ZZLjava/io/PrintStream;)V
MethodParameters:
Name Flags
names
comparator
verbose
showUnsupported
out
public void printList(java.util.List<sun.jvmstat.monitor.Monitor>, boolean, boolean, java.io.PrintStream);
descriptor: (Ljava/util/List;ZZLjava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 17
StackMap locals: sun.tools.jstat.JStatLogger java.util.List int int java.io.PrintStream top java.util.Iterator
StackMap stack:
1: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.jvmstat.monitor.Monitor
astore 5
start local 5 2: aload 5
invokeinterface sun.jvmstat.monitor.Monitor.isSupported:()Z
ifne 4
iload 3
ifne 4
3: goto 17
4: StackMap locals: sun.tools.jstat.JStatLogger java.util.List int int java.io.PrintStream sun.jvmstat.monitor.Monitor java.util.Iterator
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 7
start local 7 5: aload 7
aload 5
invokeinterface sun.jvmstat.monitor.Monitor.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 5
instanceof sun.jvmstat.monitor.StringMonitor
ifeq 9
7: aload 7
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokeinterface sun.jvmstat.monitor.Monitor.getValue:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: goto 10
9: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 7
aload 5
invokeinterface sun.jvmstat.monitor.Monitor.getValue:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
10: StackMap locals:
StackMap stack:
iload 2
ifeq 16
11: aload 7
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokeinterface sun.jvmstat.monitor.Monitor.getUnits:()Lsun/jvmstat/monitor/Units;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
12: aload 7
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokeinterface sun.jvmstat.monitor.Monitor.getVariability:()Lsun/jvmstat/monitor/Variability;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
13: aload 7
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokeinterface sun.jvmstat.monitor.Monitor.isSupported:()Z
ifeq 14
ldc "Supported"
goto 15
14: StackMap locals:
StackMap stack: java.lang.StringBuilder
ldc "Unsupported"
15: StackMap locals: sun.tools.jstat.JStatLogger java.util.List int int java.io.PrintStream sun.jvmstat.monitor.Monitor java.util.Iterator java.lang.StringBuilder
StackMap stack: java.lang.StringBuilder java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: StackMap locals:
StackMap stack:
aload 4
aload 7
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
end local 7 end local 5 17: StackMap locals: sun.tools.jstat.JStatLogger java.util.List int int java.io.PrintStream top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
18: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/tools/jstat/JStatLogger;
0 19 1 list Ljava/util/List<Lsun/jvmstat/monitor/Monitor;>;
0 19 2 verbose Z
0 19 3 showUnsupported Z
0 19 4 out Ljava/io/PrintStream;
2 17 5 m Lsun/jvmstat/monitor/Monitor;
5 17 7 buffer Ljava/lang/StringBuilder;
Exceptions:
throws sun.jvmstat.monitor.MonitorException
Signature: (Ljava/util/List<Lsun/jvmstat/monitor/Monitor;>;ZZLjava/io/PrintStream;)V
MethodParameters:
Name Flags
list
verbose
showUnsupported
out
public void stopLogging();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield sun.tools.jstat.JStatLogger.active:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jstat/JStatLogger;
public void logSamples(sun.tools.jstat.OutputFormatter, int, int, int, java.io.PrintStream);
descriptor: (Lsun/tools/jstat/OutputFormatter;IIILjava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: lconst_0
lstore 6
start local 6 1: iconst_0
istore 8
start local 8 2: iload 2
istore 9
start local 9 3: iload 9
ifne 16
4: aload 5
aload 1
invokeinterface sun.tools.jstat.OutputFormatter.getHeader:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: iconst_m1
istore 9
6: goto 16
7: StackMap locals: long int int
StackMap stack:
iload 9
ifle 10
iinc 8 -1
iload 8
ifgt 10
8: iload 9
istore 8
9: aload 5
aload 1
invokeinterface sun.tools.jstat.OutputFormatter.getHeader:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 5
aload 1
invokeinterface sun.tools.jstat.OutputFormatter.getRow:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
11: iload 4
ifle 13
lload 6
lconst_1
ladd
dup2
lstore 6
iload 4
i2l
lcmp
iflt 13
12: goto 17
13: StackMap locals:
StackMap stack:
iload 3
i2l
invokestatic java.lang.Thread.sleep:(J)V
14: goto 16
StackMap locals:
StackMap stack: java.lang.Exception
15: pop
16: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jstat.JStatLogger.active:Z
ifne 7
17: StackMap locals:
StackMap stack:
return
end local 9 end local 8 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/tools/jstat/JStatLogger;
0 18 1 formatter Lsun/tools/jstat/OutputFormatter;
0 18 2 headerRate I
0 18 3 sampleInterval I
0 18 4 sampleCount I
0 18 5 out Ljava/io/PrintStream;
1 18 6 iterationCount J
2 18 8 printHeaderCount I
3 18 9 printHeader I
Exception table:
from to target type
13 14 15 Class java.lang.Exception
Exceptions:
throws sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
formatter
headerRate
sampleInterval
sampleCount
out
}
SourceFile: "JStatLogger.java"