public abstract class jdk.jfr.internal.Control
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.jfr.internal.Control
super_class: java.lang.Object
{
private final java.security.AccessControlContext context;
descriptor: Ljava/security/AccessControlContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final int CACHE_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private final java.util.Set<?>[] cachedUnions;
descriptor: [Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: [Ljava/util/Set<*>;
private final java.lang.String[] cachedValues;
descriptor: [Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String defaultValue;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String lastValue;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.security.AccessControlContext);
descriptor: (Ljava/security/AccessControlContext;)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_5
anewarray java.util.HashSet
putfield jdk.jfr.internal.Control.cachedUnions:[Ljava/util/Set;
2: aload 0
iconst_5
anewarray java.lang.String
putfield jdk.jfr.internal.Control.cachedValues:[Ljava/lang/String;
3: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
aload 1
putfield jdk.jfr.internal.Control.context:Ljava/security/AccessControlContext;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/Control;
0 6 1 acc Ljava/security/AccessControlContext;
MethodParameters:
Name Flags
acc
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)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_5
anewarray java.util.HashSet
putfield jdk.jfr.internal.Control.cachedUnions:[Ljava/util/Set;
2: aload 0
iconst_5
anewarray java.lang.String
putfield jdk.jfr.internal.Control.cachedValues:[Ljava/lang/String;
3: aload 0
aload 1
putfield jdk.jfr.internal.Control.defaultValue:Ljava/lang/String;
4: aload 0
aconst_null
putfield jdk.jfr.internal.Control.context:Ljava/security/AccessControlContext;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/Control;
0 6 1 defaultValue Ljava/lang/String;
MethodParameters:
Name Flags
defaultValue
public abstract java.lang.String combine(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/util/Set<Ljava/lang/String;>;)Ljava/lang/String;
MethodParameters:
Name Flags
values
public abstract void setValue(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
value
public abstract java.lang.String getValue();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
final void apply(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)V
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokevirtual jdk.jfr.internal.Control.findCombineSafe:(Ljava/util/Set;)Ljava/lang/String;
invokevirtual jdk.jfr.internal.Control.setValueSafe:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/Control;
0 2 1 values Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
values
final void setDefault();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.Control.defaultValue:Ljava/lang/String;
ifnonnull 2
1: aload 0
aload 0
invokevirtual jdk.jfr.internal.Control.getValueSafe:()Ljava/lang/String;
putfield jdk.jfr.internal.Control.defaultValue:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield jdk.jfr.internal.Control.defaultValue:Ljava/lang/String;
invokevirtual jdk.jfr.internal.Control.apply:(Ljava/lang/String;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/Control;
final java.lang.String getValueSafe();
descriptor: ()Ljava/lang/String;
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.Control.context:Ljava/security/AccessControlContext;
ifnonnull 2
1: aload 0
invokevirtual jdk.jfr.internal.Control.getValue:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new jdk.jfr.internal.Control$1
dup
aload 0
invokespecial jdk.jfr.internal.Control$1.<init>:(Ljdk/jfr/internal/Control;)V
3: aload 0
getfield jdk.jfr.internal.Control.context:Ljava/security/AccessControlContext;
4: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/jfr/internal/Control;
private void apply(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.Control.lastValue:Ljava/lang/String;
ifnull 2
aload 1
aload 0
getfield jdk.jfr.internal.Control.lastValue:Ljava/lang/String;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.jfr.internal.Control.setValueSafe:(Ljava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/Control;
0 4 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
final void setValueSafe(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0010) ACC_FINAL
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.Control.context:Ljava/security/AccessControlContext;
ifnonnull 6
1: aload 0
aload 1
invokevirtual jdk.jfr.internal.Control.setValue:(Ljava/lang/String;)V
2: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
3: pop
4: getstatic jdk.jfr.internal.LogTag.JFR_SETTING:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.WARN:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "Exception occurred when setting value \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" for "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
5: goto 9
6: StackMap locals:
StackMap stack:
new jdk.jfr.internal.Control$2
dup
aload 0
aload 1
invokespecial jdk.jfr.internal.Control$2.<init>:(Ljdk/jfr/internal/Control;Ljava/lang/String;)V
7: aload 0
getfield jdk.jfr.internal.Control.context:Ljava/security/AccessControlContext;
8: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
pop
9: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jdk.jfr.internal.Control.lastValue:Ljava/lang/String;
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/jfr/internal/Control;
0 11 1 value Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.lang.Throwable
MethodParameters:
Name Flags
value
private java.lang.String combineSafe(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.Control.context:Ljava/security/AccessControlContext;
ifnonnull 2
1: aload 0
aload 1
invokevirtual jdk.jfr.internal.Control.combine:(Ljava/util/Set;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new jdk.jfr.internal.Control$3
dup
aload 0
aload 1
invokespecial jdk.jfr.internal.Control$3.<init>:(Ljdk/jfr/internal/Control;Ljava/util/Set;)V
3: aload 0
getfield jdk.jfr.internal.Control.context:Ljava/security/AccessControlContext;
4: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/jfr/internal/Control;
0 5 1 values Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/util/Set<Ljava/lang/String;>;)Ljava/lang/String;
MethodParameters:
Name Flags
values
private final java.lang.String findCombineSafe(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Set.size:()I
iconst_1
if_icmpne 2
1: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
areturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 3: goto 7
4: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.jfr.internal.Control.cachedUnions:[Ljava/util/Set;
iload 2
aaload
aload 1
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 6
5: aload 0
getfield jdk.jfr.internal.Control.cachedValues:[Ljava/lang/String;
iload 2
aaload
areturn
6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
iconst_5
if_icmplt 4
end local 2 8: aload 0
aload 1
invokevirtual jdk.jfr.internal.Control.combineSafe:(Ljava/util/Set;)Ljava/lang/String;
astore 2
start local 2 9: iconst_0
istore 3
start local 3 10: goto 14
11: StackMap locals: jdk.jfr.internal.Control java.util.Set java.lang.String int
StackMap stack:
aload 0
getfield jdk.jfr.internal.Control.cachedUnions:[Ljava/util/Set;
iload 3
iconst_1
iadd
aload 0
getfield jdk.jfr.internal.Control.cachedUnions:[Ljava/util/Set;
iload 3
aaload
aastore
12: aload 0
getfield jdk.jfr.internal.Control.cachedValues:[Ljava/lang/String;
iload 3
iconst_1
iadd
aload 0
getfield jdk.jfr.internal.Control.cachedValues:[Ljava/lang/String;
iload 3
aaload
aastore
13: iinc 3 1
StackMap locals:
StackMap stack:
14: iload 3
iconst_4
if_icmplt 11
end local 3 15: aload 0
getfield jdk.jfr.internal.Control.cachedValues:[Ljava/lang/String;
iconst_0
aload 2
aastore
16: aload 0
getfield jdk.jfr.internal.Control.cachedUnions:[Ljava/util/Set;
iconst_0
aload 1
aastore
17: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/jfr/internal/Control;
0 18 1 values Ljava/util/Set<Ljava/lang/String;>;
3 8 2 i I
9 18 2 result Ljava/lang/String;
10 15 3 i I
Signature: (Ljava/util/Set<Ljava/lang/String;>;)Ljava/lang/String;
MethodParameters:
Name Flags
values
final java.lang.String getDefaultValue();
descriptor: ()Ljava/lang/String;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.Control.defaultValue:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/Control;
final java.lang.String getLastValue();
descriptor: ()Ljava/lang/String;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.Control.lastValue:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/Control;
public final java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.CloneNotSupportedException
dup
invokespecial java.lang.CloneNotSupportedException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/Control;
Exceptions:
throws java.lang.CloneNotSupportedException
private final void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.io.IOException
dup
ldc "Object cannot be serialized"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/Control;
0 1 1 out Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
private final void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.io.IOException
dup
ldc "Class cannot be deserialized"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/Control;
0 1 1 in Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
}
SourceFile: "Control.java"
NestMembers:
jdk.jfr.internal.Control$1 jdk.jfr.internal.Control$2 jdk.jfr.internal.Control$3
InnerClasses:
jdk.jfr.internal.Control$1
jdk.jfr.internal.Control$2
jdk.jfr.internal.Control$3