public class com.codahale.metrics.jvm.JvmAttributeGaugeSet implements com.codahale.metrics.MetricSet
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.codahale.metrics.jvm.JvmAttributeGaugeSet
super_class: java.lang.Object
{
private final java.lang.management.RuntimeMXBean runtime;
descriptor: Ljava/lang/management/RuntimeMXBean;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.lang.management.ManagementFactory.getRuntimeMXBean:()Ljava/lang/management/RuntimeMXBean;
invokespecial com.codahale.metrics.jvm.JvmAttributeGaugeSet.<init>:(Ljava/lang/management/RuntimeMXBean;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/jvm/JvmAttributeGaugeSet;
public void <init>(java.lang.management.RuntimeMXBean);
descriptor: (Ljava/lang/management/RuntimeMXBean;)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
aload 1
putfield com.codahale.metrics.jvm.JvmAttributeGaugeSet.runtime:Ljava/lang/management/RuntimeMXBean;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/codahale/metrics/jvm/JvmAttributeGaugeSet;
0 3 1 runtime Ljava/lang/management/RuntimeMXBean;
MethodParameters:
Name Flags
runtime
public java.util.Map<java.lang.String, com.codahale.metrics.Metric> getMetrics();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 1: aload 1
ldc "name"
aload 0
getfield com.codahale.metrics.jvm.JvmAttributeGaugeSet.runtime:Ljava/lang/management/RuntimeMXBean;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic getValue(Ljava/lang/management/RuntimeMXBean;)Lcom/codahale/metrics/Gauge;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
java/lang/management/RuntimeMXBean.getName()Ljava/lang/String; (9 itf)
()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 1
ldc "vendor"
aload 0
invokedynamic getValue(Lcom/codahale/metrics/jvm/JvmAttributeGaugeSet;)Lcom/codahale/metrics/Gauge;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/codahale/metrics/jvm/JvmAttributeGaugeSet.lambda$1()Ljava/lang/String; (7)
()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 1
ldc "uptime"
aload 0
getfield com.codahale.metrics.jvm.JvmAttributeGaugeSet.runtime:Ljava/lang/management/RuntimeMXBean;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic getValue(Ljava/lang/management/RuntimeMXBean;)Lcom/codahale/metrics/Gauge;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
java/lang/management/RuntimeMXBean.getUptime()J (9 itf)
()Ljava/lang/Long;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 1
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/codahale/metrics/jvm/JvmAttributeGaugeSet;
1 5 1 gauges Ljava/util/Map<Ljava/lang/String;Lcom/codahale/metrics/Metric;>;
Signature: ()Ljava/util/Map<Ljava/lang/String;Lcom/codahale/metrics/Metric;>;
private java.lang.String lambda$1();
descriptor: ()Ljava/lang/String;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: getstatic java.util.Locale.US:Ljava/util/Locale;
1: ldc "%s %s %s (%s)"
iconst_4
anewarray java.lang.Object
dup
iconst_0
2: aload 0
getfield com.codahale.metrics.jvm.JvmAttributeGaugeSet.runtime:Ljava/lang/management/RuntimeMXBean;
invokeinterface java.lang.management.RuntimeMXBean.getVmVendor:()Ljava/lang/String;
aastore
dup
iconst_1
3: aload 0
getfield com.codahale.metrics.jvm.JvmAttributeGaugeSet.runtime:Ljava/lang/management/RuntimeMXBean;
invokeinterface java.lang.management.RuntimeMXBean.getVmName:()Ljava/lang/String;
aastore
dup
iconst_2
4: aload 0
getfield com.codahale.metrics.jvm.JvmAttributeGaugeSet.runtime:Ljava/lang/management/RuntimeMXBean;
invokeinterface java.lang.management.RuntimeMXBean.getVmVersion:()Ljava/lang/String;
aastore
dup
iconst_3
5: aload 0
getfield com.codahale.metrics.jvm.JvmAttributeGaugeSet.runtime:Ljava/lang/management/RuntimeMXBean;
invokeinterface java.lang.management.RuntimeMXBean.getSpecVersion:()Ljava/lang/String;
aastore
6: invokestatic java.lang.String.format:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
7: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/codahale/metrics/jvm/JvmAttributeGaugeSet;
}
SourceFile: "JvmAttributeGaugeSet.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles