public final class jdk.jfr.internal.settings.ThrottleSetting extends jdk.jfr.internal.settings.JDKSettingControl
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.settings.ThrottleSetting
super_class: jdk.jfr.internal.settings.JDKSettingControl
{
private static final long typeId;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final long OFF;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -2
private java.lang.String value;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private final jdk.jfr.internal.PlatformEventType eventType;
descriptor: Ljdk/jfr/internal/PlatformEventType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Ljdk/jfr/internal/settings/ThrottleSetting;
invokestatic jdk.jfr.internal.Type.getTypeId:(Ljava/lang/Class;)J
putstatic jdk.jfr.internal.settings.ThrottleSetting.typeId:J
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.jfr.internal.PlatformEventType);
descriptor: (Ljdk/jfr/internal/PlatformEventType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial jdk.jfr.internal.settings.JDKSettingControl.<init>:()V
1: aload 0
ldc "0/s"
putfield jdk.jfr.internal.settings.ThrottleSetting.value:Ljava/lang/String;
2: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.internal.PlatformEventType
putfield jdk.jfr.internal.settings.ThrottleSetting.eventType:Ljdk/jfr/internal/PlatformEventType;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/settings/ThrottleSetting;
0 4 1 eventType Ljdk/jfr/internal/PlatformEventType;
MethodParameters:
Name Flags
eventType
public java.lang.String combine(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: ldc -2
lstore 2
start local 2 1: ldc "off"
astore 4
start local 4 2: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 8
StackMap locals: jdk.jfr.internal.settings.ThrottleSetting java.util.Set long java.lang.String top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 4: aload 5
invokestatic jdk.jfr.internal.settings.ThrottleSetting.parseValueSafe:(Ljava/lang/String;)J
lstore 7
start local 7 5: lload 7
lload 2
lcmp
ifle 8
6: aload 5
astore 4
7: lload 7
lstore 2
end local 7 end local 5 8: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
9: aload 4
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/jfr/internal/settings/ThrottleSetting;
0 10 1 values Ljava/util/Set<Ljava/lang/String;>;
1 10 2 max J
2 10 4 text Ljava/lang/String;
4 8 5 value Ljava/lang/String;
5 8 7 l J
Signature: (Ljava/util/Set<Ljava/lang/String;>;)Ljava/lang/String;
MethodParameters:
Name Flags
values
private static long parseValueSafe(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
invokestatic jdk.jfr.internal.Utils.parseThrottleValue:(Ljava/lang/String;)J
lstore 1
2: goto 4
StackMap locals: java.lang.String long
StackMap stack: java.lang.NumberFormatException
3: pop
4: StackMap locals:
StackMap stack:
lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 s Ljava/lang/String;
1 5 1 value J
Exception table:
from to target type
1 2 3 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
s
public void setValue(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: lconst_0
lstore 2
start local 2 1: ldc 1000
lstore 4
start local 4 2: aload 1
invokestatic jdk.jfr.internal.Utils.parseThrottleValue:(Ljava/lang/String;)J
lstore 2
3: aload 1
invokestatic jdk.jfr.internal.Utils.parseThrottleTimeUnit:(Ljava/lang/String;)J
lstore 4
4: aload 0
aload 1
putfield jdk.jfr.internal.settings.ThrottleSetting.value:Ljava/lang/String;
5: goto 7
StackMap locals: jdk.jfr.internal.settings.ThrottleSetting java.lang.String long long
StackMap stack: java.lang.NumberFormatException
6: pop
7: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.settings.ThrottleSetting.eventType:Ljdk/jfr/internal/PlatformEventType;
lload 2
lload 4
invokevirtual jdk.jfr.internal.PlatformEventType.setThrottle:(JJ)V
8: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/jfr/internal/settings/ThrottleSetting;
0 9 1 s Ljava/lang/String;
1 9 2 size J
2 9 4 millis J
Exception table:
from to target type
2 5 6 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
s
public java.lang.String getValue();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.settings.ThrottleSetting.value:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/settings/ThrottleSetting;
public static boolean isType(long);
descriptor: (J)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: getstatic jdk.jfr.internal.settings.ThrottleSetting.typeId:J
lload 0
lcmp
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 typeId J
MethodParameters:
Name Flags
typeId
}
SourceFile: "ThrottleSetting.java"
RuntimeVisibleAnnotations:
jdk.jfr.MetadataDefinition()
jdk.jfr.Label(value = "Event Emission Throttle")
jdk.jfr.Description(value = "Throttles the emission rate for an event")
jdk.jfr.Name(value = "jdk.settings.Throttle")