class com.codahale.metrics.jvm.MemoryUsageGaugeSet$3 extends com.codahale.metrics.RatioGauge
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.codahale.metrics.jvm.MemoryUsageGaugeSet$3
super_class: com.codahale.metrics.RatioGauge
{
final com.codahale.metrics.jvm.MemoryUsageGaugeSet this$0;
descriptor: Lcom/codahale/metrics/jvm/MemoryUsageGaugeSet;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.lang.management.MemoryPoolMXBean val$pool;
descriptor: Ljava/lang/management/MemoryPoolMXBean;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.codahale.metrics.jvm.MemoryUsageGaugeSet, java.lang.management.MemoryPoolMXBean);
descriptor: (Lcom/codahale/metrics/jvm/MemoryUsageGaugeSet;Ljava/lang/management/MemoryPoolMXBean;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 // com.codahale.metrics.jvm.MemoryUsageGaugeSet$3 this
0: .line 82
aload 0 /* this */
aload 1
putfield com.codahale.metrics.jvm.MemoryUsageGaugeSet$3.this$0:Lcom/codahale/metrics/jvm/MemoryUsageGaugeSet;
aload 0 /* this */
aload 2
putfield com.codahale.metrics.jvm.MemoryUsageGaugeSet$3.val$pool:Ljava/lang/management/MemoryPoolMXBean;
aload 0 /* this */
invokespecial com.codahale.metrics.RatioGauge.<init>:()V
return
end local 0 // com.codahale.metrics.jvm.MemoryUsageGaugeSet$3 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/jvm/MemoryUsageGaugeSet$3;
MethodParameters:
Name Flags
this$0 final
val$pool final
protected com.codahale.metrics.RatioGauge$Ratio getRatio();
descriptor: ()Lcom/codahale/metrics/RatioGauge$Ratio;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=2, args_size=1
start local 0 // com.codahale.metrics.jvm.MemoryUsageGaugeSet$3 this
0: .line 85
aload 0 /* this */
getfield com.codahale.metrics.jvm.MemoryUsageGaugeSet$3.val$pool:Ljava/lang/management/MemoryPoolMXBean;
invokeinterface java.lang.management.MemoryPoolMXBean.getUsage:()Ljava/lang/management/MemoryUsage;
astore 1 /* usage */
start local 1 // java.lang.management.MemoryUsage usage
1: .line 86
aload 1 /* usage */
invokevirtual java.lang.management.MemoryUsage.getUsed:()J
l2d
2: .line 87
aload 1 /* usage */
invokevirtual java.lang.management.MemoryUsage.getMax:()J
ldc -1
lcmp
ifne 3
aload 1 /* usage */
invokevirtual java.lang.management.MemoryUsage.getCommitted:()J
goto 4
StackMap locals: com.codahale.metrics.jvm.MemoryUsageGaugeSet$3 java.lang.management.MemoryUsage
StackMap stack: double
3: aload 1 /* usage */
invokevirtual java.lang.management.MemoryUsage.getMax:()J
StackMap locals: com.codahale.metrics.jvm.MemoryUsageGaugeSet$3 java.lang.management.MemoryUsage
StackMap stack: double long
4: l2d
5: .line 86
invokestatic com.codahale.metrics.RatioGauge$Ratio.of:(DD)Lcom/codahale/metrics/RatioGauge$Ratio;
areturn
end local 1 // java.lang.management.MemoryUsage usage
end local 0 // com.codahale.metrics.jvm.MemoryUsageGaugeSet$3 this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/codahale/metrics/jvm/MemoryUsageGaugeSet$3;
1 6 1 usage Ljava/lang/management/MemoryUsage;
}
SourceFile: "MemoryUsageGaugeSet.java"
EnclosingMethod: com.codahale.metrics.jvm.MemoryUsageGaugeSet.getMetrics:()Ljava/util/Map;
NestHost: com.codahale.metrics.jvm.MemoryUsageGaugeSet
InnerClasses:
public Ratio = com.codahale.metrics.RatioGauge$Ratio of com.codahale.metrics.RatioGauge
com.codahale.metrics.jvm.MemoryUsageGaugeSet$3