final class jdk.jfr.consumer.ConstantMap
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.jfr.consumer.ConstantMap
  super_class: java.lang.Object
{
  private final jdk.jfr.consumer.ObjectFactory<?> factory;
    descriptor: Ljdk/jfr/consumer/ObjectFactory;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljdk/jfr/consumer/ObjectFactory<*>;

  private final jdk.jfr.consumer.LongMap<java.lang.Object> objects;
    descriptor: Ljdk/jfr/consumer/LongMap;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljdk/jfr/consumer/LongMap<Ljava/lang/Object;>;

  private jdk.jfr.consumer.LongMap<java.lang.Boolean> isResolving;
    descriptor: Ljdk/jfr/consumer/LongMap;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljdk/jfr/consumer/LongMap<Ljava/lang/Boolean;>;

  private boolean allResolved;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private java.lang.String name;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  void <init>(jdk.jfr.consumer.ObjectFactory<?>, java.lang.String);
    descriptor: (Ljdk/jfr/consumer/ObjectFactory;Ljava/lang/String;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.jfr.consumer.ConstantMap this
        start local 1 // jdk.jfr.consumer.ObjectFactory factory
        start local 2 // java.lang.String name
         0: .line 59
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 60
            aload 0 /* this */
            aload 2 /* name */
            putfield jdk.jfr.consumer.ConstantMap.name:Ljava/lang/String;
         2: .line 61
            aload 0 /* this */
            new jdk.jfr.consumer.LongMap
            dup
            invokespecial jdk.jfr.consumer.LongMap.<init>:()V
            putfield jdk.jfr.consumer.ConstantMap.objects:Ljdk/jfr/consumer/LongMap;
         3: .line 62
            aload 0 /* this */
            aload 1 /* factory */
            putfield jdk.jfr.consumer.ConstantMap.factory:Ljdk/jfr/consumer/ObjectFactory;
         4: .line 63
            return
        end local 2 // java.lang.String name
        end local 1 // jdk.jfr.consumer.ObjectFactory factory
        end local 0 // jdk.jfr.consumer.ConstantMap this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Ljdk/jfr/consumer/ConstantMap;
            0    5     1  factory  Ljdk/jfr/consumer/ObjectFactory<*>;
            0    5     2     name  Ljava/lang/String;
    Signature: (Ljdk/jfr/consumer/ObjectFactory<*>;Ljava/lang/String;)V
    MethodParameters:
         Name  Flags
      factory  
      name     

  java.lang.Object get(long);
    descriptor: (J)Ljava/lang/Object;
    flags: (0x0000) 
    Code:
      stack=5, locals=6, args_size=2
        start local 0 // jdk.jfr.consumer.ConstantMap this
        start local 1 // long id
         0: .line 67
            aload 0 /* this */
            getfield jdk.jfr.consumer.ConstantMap.allResolved:Z
            ifeq 2
         1: .line 68
            aload 0 /* this */
            getfield jdk.jfr.consumer.ConstantMap.objects:Ljdk/jfr/consumer/LongMap;
            lload 1 /* id */
            invokevirtual jdk.jfr.consumer.LongMap.get:(J)Ljava/lang/Object;
            areturn
         2: .line 71
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.consumer.ConstantMap.isResolving:Ljdk/jfr/consumer/LongMap;
            ifnonnull 4
         3: .line 72
            new jdk.jfr.consumer.ConstantMap$Reference
            dup
            aload 0 /* this */
            lload 1 /* id */
            invokespecial jdk.jfr.consumer.ConstantMap$Reference.<init>:(Ljdk/jfr/consumer/ConstantMap;J)V
            areturn
         4: .line 75
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.consumer.ConstantMap.isResolving:Ljdk/jfr/consumer/LongMap;
            lload 1 /* id */
            invokevirtual jdk.jfr.consumer.LongMap.get:(J)Ljava/lang/Object;
            checkcast java.lang.Boolean
            astore 3 /* beingResolved */
        start local 3 // java.lang.Boolean beingResolved
         5: .line 78
            getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
            aload 3 /* beingResolved */
            invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
            ifeq 7
         6: .line 79
            aload 0 /* this */
            getfield jdk.jfr.consumer.ConstantMap.objects:Ljdk/jfr/consumer/LongMap;
            lload 1 /* id */
            invokevirtual jdk.jfr.consumer.LongMap.get:(J)Ljava/lang/Object;
            areturn
         7: .line 83
      StackMap locals: java.lang.Boolean
      StackMap stack:
            getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
            aload 3 /* beingResolved */
            invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
            ifeq 9
         8: .line 84
            aconst_null
            areturn
         9: .line 88
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.consumer.ConstantMap.isResolving:Ljdk/jfr/consumer/LongMap;
            lload 1 /* id */
            getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
            invokevirtual jdk.jfr.consumer.LongMap.put:(JLjava/lang/Object;)V
        10: .line 89
            aload 0 /* this */
            getfield jdk.jfr.consumer.ConstantMap.objects:Ljdk/jfr/consumer/LongMap;
            lload 1 /* id */
            invokevirtual jdk.jfr.consumer.LongMap.get:(J)Ljava/lang/Object;
            invokestatic jdk.jfr.consumer.ConstantMap.resolve:(Ljava/lang/Object;)Ljava/lang/Object;
            astore 4 /* resolved */
        start local 4 // java.lang.Object resolved
        11: .line 90
            aload 0 /* this */
            getfield jdk.jfr.consumer.ConstantMap.isResolving:Ljdk/jfr/consumer/LongMap;
            lload 1 /* id */
            getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
            invokevirtual jdk.jfr.consumer.LongMap.put:(JLjava/lang/Object;)V
        12: .line 91
            aload 0 /* this */
            getfield jdk.jfr.consumer.ConstantMap.factory:Ljdk/jfr/consumer/ObjectFactory;
            ifnull 16
        13: .line 92
            aload 0 /* this */
            getfield jdk.jfr.consumer.ConstantMap.factory:Ljdk/jfr/consumer/ObjectFactory;
            lload 1 /* id */
            aload 4 /* resolved */
            invokevirtual jdk.jfr.consumer.ObjectFactory.createObject:(JLjava/lang/Object;)Ljava/lang/Object;
            astore 5 /* factorized */
        start local 5 // java.lang.Object factorized
        14: .line 93
            aload 0 /* this */
            getfield jdk.jfr.consumer.ConstantMap.objects:Ljdk/jfr/consumer/LongMap;
            lload 1 /* id */
            aload 5 /* factorized */
            invokevirtual jdk.jfr.consumer.LongMap.put:(JLjava/lang/Object;)V
        15: .line 94
            aload 5 /* factorized */
            areturn
        end local 5 // java.lang.Object factorized
        16: .line 96
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.consumer.ConstantMap.objects:Ljdk/jfr/consumer/LongMap;
            lload 1 /* id */
            aload 4 /* resolved */
            invokevirtual jdk.jfr.consumer.LongMap.put:(JLjava/lang/Object;)V
        17: .line 97
            aload 4 /* resolved */
            areturn
        end local 4 // java.lang.Object resolved
        end local 3 // java.lang.Boolean beingResolved
        end local 1 // long id
        end local 0 // jdk.jfr.consumer.ConstantMap this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   18     0           this  Ljdk/jfr/consumer/ConstantMap;
            0   18     1             id  J
            5   18     3  beingResolved  Ljava/lang/Boolean;
           11   18     4       resolved  Ljava/lang/Object;
           14   16     5     factorized  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      id    

  private static java.lang.Object resolve(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // java.lang.Object o
         0: .line 102
            aload 0 /* o */
            instanceof jdk.jfr.consumer.ConstantMap$Reference
            ifeq 2
         1: .line 103
            aload 0 /* o */
            checkcast jdk.jfr.consumer.ConstantMap$Reference
            invokevirtual jdk.jfr.consumer.ConstantMap$Reference.resolve:()Ljava/lang/Object;
            invokestatic jdk.jfr.consumer.ConstantMap.resolve:(Ljava/lang/Object;)Ljava/lang/Object;
            areturn
         2: .line 105
      StackMap locals:
      StackMap stack:
            aload 0 /* o */
            ifnull 10
            aload 0 /* o */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.isArray:()Z
            ifeq 10
         3: .line 106
            aload 0 /* o */
            checkcast java.lang.Object[]
            astore 1 /* array */
        start local 1 // java.lang.Object[] array
         4: .line 107
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         5: goto 8
         6: .line 108
      StackMap locals: java.lang.Object[] int
      StackMap stack:
            aload 1 /* array */
            iload 2 /* i */
            aload 1 /* array */
            iload 2 /* i */
            aaload
            invokestatic jdk.jfr.consumer.ConstantMap.resolve:(Ljava/lang/Object;)Ljava/lang/Object;
            aastore
         7: .line 107
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
         8: iload 2 /* i */
            aload 1 /* array */
            arraylength
            if_icmplt 6
        end local 2 // int i
         9: .line 110
            aload 1 /* array */
            areturn
        end local 1 // java.lang.Object[] array
        10: .line 112
      StackMap locals:
      StackMap stack:
            aload 0 /* o */
            areturn
        end local 0 // java.lang.Object o
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   11     0      o  Ljava/lang/Object;
            4   10     1  array  [Ljava/lang/Object;
            5    9     2      i  I
    MethodParameters:
      Name  Flags
      o     

  public void resolve();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=1
        start local 0 // jdk.jfr.consumer.ConstantMap this
         0: .line 116
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 1 /* keyList */
        start local 1 // java.util.List keyList
         1: .line 117
            aload 0 /* this */
            getfield jdk.jfr.consumer.ConstantMap.objects:Ljdk/jfr/consumer/LongMap;
            invokevirtual jdk.jfr.consumer.LongMap.keys:()Ljava/util/Iterator;
            aload 1 /* keyList */
            dup
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            pop
            invokedynamic accept(Ljava/util/List;)Ljava/util/function/Consumer;
              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;)V
                  java/util/List.add(Ljava/lang/Object;)Z (9 itf)
                  (Ljava/lang/Long;)V
            invokeinterface java.util.Iterator.forEachRemaining:(Ljava/util/function/Consumer;)V
         2: .line 118
            aload 1 /* keyList */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 5
      StackMap locals: jdk.jfr.consumer.ConstantMap java.util.List top top java.util.Iterator
      StackMap stack:
         3: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.Long
            astore 3 /* l */
        start local 3 // java.lang.Long l
         4: .line 119
            aload 0 /* this */
            aload 3 /* l */
            invokevirtual java.lang.Long.longValue:()J
            invokevirtual jdk.jfr.consumer.ConstantMap.get:(J)Ljava/lang/Object;
            pop
        end local 3 // java.lang.Long l
         5: .line 118
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         6: .line 121
            return
        end local 1 // java.util.List keyList
        end local 0 // jdk.jfr.consumer.ConstantMap this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    7     0     this  Ljdk/jfr/consumer/ConstantMap;
            1    7     1  keyList  Ljava/util/List<Ljava/lang/Long;>;
            4    5     3        l  Ljava/lang/Long;

  public void put(long, java.lang.Object);
    descriptor: (JLjava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // jdk.jfr.consumer.ConstantMap this
        start local 1 // long key
        start local 3 // java.lang.Object value
         0: .line 124
            aload 0 /* this */
            getfield jdk.jfr.consumer.ConstantMap.objects:Ljdk/jfr/consumer/LongMap;
            lload 1 /* key */
            aload 3 /* value */
            invokevirtual jdk.jfr.consumer.LongMap.put:(JLjava/lang/Object;)V
         1: .line 125
            return
        end local 3 // java.lang.Object value
        end local 1 // long key
        end local 0 // jdk.jfr.consumer.ConstantMap this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Ljdk/jfr/consumer/ConstantMap;
            0    2     1    key  J
            0    2     3  value  Ljava/lang/Object;
    MethodParameters:
       Name  Flags
      key    
      value  

  public void setIsResolving();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.jfr.consumer.ConstantMap this
         0: .line 128
            aload 0 /* this */
            new jdk.jfr.consumer.LongMap
            dup
            invokespecial jdk.jfr.consumer.LongMap.<init>:()V
            putfield jdk.jfr.consumer.ConstantMap.isResolving:Ljdk/jfr/consumer/LongMap;
         1: .line 129
            return
        end local 0 // jdk.jfr.consumer.ConstantMap this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jfr/consumer/ConstantMap;

  public void setResolved();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.consumer.ConstantMap this
         0: .line 132
            aload 0 /* this */
            iconst_1
            putfield jdk.jfr.consumer.ConstantMap.allResolved:Z
         1: .line 133
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.consumer.ConstantMap.isResolving:Ljdk/jfr/consumer/LongMap;
         2: .line 134
            return
        end local 0 // jdk.jfr.consumer.ConstantMap this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jfr/consumer/ConstantMap;

  public java.lang.String getName();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.consumer.ConstantMap this
         0: .line 137
            aload 0 /* this */
            getfield jdk.jfr.consumer.ConstantMap.name:Ljava/lang/String;
            areturn
        end local 0 // jdk.jfr.consumer.ConstantMap this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/consumer/ConstantMap;
}
SourceFile: "ConstantMap.java"
NestMembers:
  jdk.jfr.consumer.ConstantMap$Reference
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  private final Reference = jdk.jfr.consumer.ConstantMap$Reference of jdk.jfr.consumer.ConstantMap