final class jdk.jfr.internal.consumer.ParserFilter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.consumer.ParserFilter
super_class: java.lang.Object
{
public static final jdk.jfr.internal.consumer.ParserFilter ACCEPT_ALL;
descriptor: Ljdk/jfr/internal/consumer/ParserFilter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final java.util.Map<java.lang.String, java.lang.Long> thresholds;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Long;>;
private final boolean acceptAll;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new jdk.jfr.internal.consumer.ParserFilter
dup
iconst_1
invokestatic java.util.Map.of:()Ljava/util/Map;
invokespecial jdk.jfr.internal.consumer.ParserFilter.<init>:(ZLjava/util/Map;)V
putstatic jdk.jfr.internal.consumer.ParserFilter.ACCEPT_ALL:Ljdk/jfr/internal/consumer/ParserFilter;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
invokespecial jdk.jfr.internal.consumer.ParserFilter.<init>:(ZLjava/util/Map;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/consumer/ParserFilter;
private void <init>(boolean, java.util.Map<java.lang.String, java.lang.Long>);
descriptor: (ZLjava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield jdk.jfr.internal.consumer.ParserFilter.acceptAll:Z
2: aload 0
aload 2
putfield jdk.jfr.internal.consumer.ParserFilter.thresholds:Ljava/util/Map;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/consumer/ParserFilter;
0 4 1 acceptAll Z
0 4 2 thresholds Ljava/util/Map<Ljava/lang/String;Ljava/lang/Long;>;
Signature: (ZLjava/util/Map<Ljava/lang/String;Ljava/lang/Long;>;)V
MethodParameters:
Name Flags
acceptAll
thresholds
public void setThreshold(java.lang.String, long);
descriptor: (Ljava/lang/String;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.jfr.internal.consumer.ParserFilter.thresholds:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Long
astore 4
start local 4 1: aload 4
ifnull 4
2: aload 4
invokevirtual java.lang.Long.longValue:()J
lload 2
invokestatic java.lang.Math.min:(JJ)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
astore 4
3: goto 5
4: StackMap locals: java.lang.Long
StackMap stack:
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
astore 4
5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ParserFilter.thresholds:Ljava/util/Map;
aload 1
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/jfr/internal/consumer/ParserFilter;
0 7 1 eventName Ljava/lang/String;
0 7 2 nanos J
1 7 4 l Ljava/lang/Long;
MethodParameters:
Name Flags
eventName
nanos
public long getThreshold(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.consumer.ParserFilter.acceptAll:Z
ifeq 2
1: lconst_0
lreturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ParserFilter.thresholds:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Long
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 2
invokevirtual java.lang.Long.longValue:()J
lreturn
5: StackMap locals: java.lang.Long
StackMap stack:
ldc -1
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/consumer/ParserFilter;
0 6 1 eventName Ljava/lang/String;
3 6 2 l Ljava/lang/Long;
MethodParameters:
Name Flags
eventName
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.ParserFilter.acceptAll:Z
ifeq 2
1: ldc "ACCEPT ALL"
areturn
2: StackMap locals:
StackMap stack:
new java.util.StringJoiner
dup
ldc ", "
invokespecial java.util.StringJoiner.<init>:(Ljava/lang/CharSequence;)V
astore 1
start local 1 3: aload 0
getfield jdk.jfr.internal.consumer.ParserFilter.thresholds:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
iconst_0
anewarray java.lang.String
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 8
StackMap locals: jdk.jfr.internal.consumer.ParserFilter java.util.StringJoiner top int int java.lang.String[]
StackMap stack:
4: aload 5
iload 3
aaload
astore 2
start local 2 5: aload 0
getfield jdk.jfr.internal.consumer.ParserFilter.thresholds:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Long
astore 6
start local 6 6: aload 1
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
pop
end local 6 end local 2 7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 4
if_icmplt 4
9: aload 1
invokevirtual java.util.StringJoiner.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/jfr/internal/consumer/ParserFilter;
3 10 1 sb Ljava/util/StringJoiner;
5 7 2 key Ljava/lang/String;
6 7 6 value Ljava/lang/Long;
}
SourceFile: "ParserFilter.java"