public final class jdk.jfr.internal.MetadataRepository
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.jfr.internal.MetadataRepository
  super_class: java.lang.Object
{
  private static final jdk.jfr.internal.JVM jvm;
    descriptor: Ljdk/jfr/internal/JVM;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final jdk.jfr.internal.MetadataRepository instance;
    descriptor: Ljdk/jfr/internal/MetadataRepository;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final java.util.List<jdk.jfr.EventType> nativeEventTypes;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Ljdk/jfr/EventType;>;

  private final java.util.List<jdk.jfr.internal.EventControl> nativeControls;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Ljdk/jfr/internal/EventControl;>;

  private final jdk.jfr.internal.TypeLibrary typeLibrary;
    descriptor: Ljdk/jfr/internal/TypeLibrary;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final jdk.jfr.internal.SettingsManager settingsManager;
    descriptor: Ljdk/jfr/internal/SettingsManager;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.Map<java.lang.String, java.lang.Class<? extends jdk.jfr.Event>> mirrors;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Class<+Ljdk/jfr/Event;>;>;

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

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

  private long lastUnloaded;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 54
            invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
            putstatic jdk.jfr.internal.MetadataRepository.jvm:Ljdk/jfr/internal/JVM;
         1: .line 55
            new jdk.jfr.internal.MetadataRepository
            dup
            invokespecial jdk.jfr.internal.MetadataRepository.<init>:()V
            putstatic jdk.jfr.internal.MetadataRepository.instance:Ljdk/jfr/internal/MetadataRepository;
            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 // jdk.jfr.internal.MetadataRepository this
         0: .line 66
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 57
            aload 0 /* this */
            new java.util.ArrayList
            dup
            bipush 100
            invokespecial java.util.ArrayList.<init>:(I)V
            putfield jdk.jfr.internal.MetadataRepository.nativeEventTypes:Ljava/util/List;
         2: .line 58
            aload 0 /* this */
            new java.util.ArrayList
            dup
            bipush 100
            invokespecial java.util.ArrayList.<init>:(I)V
            putfield jdk.jfr.internal.MetadataRepository.nativeControls:Ljava/util/List;
         3: .line 59
            aload 0 /* this */
            invokestatic jdk.jfr.internal.TypeLibrary.getInstance:()Ljdk/jfr/internal/TypeLibrary;
            putfield jdk.jfr.internal.MetadataRepository.typeLibrary:Ljdk/jfr/internal/TypeLibrary;
         4: .line 60
            aload 0 /* this */
            new jdk.jfr.internal.SettingsManager
            dup
            invokespecial jdk.jfr.internal.SettingsManager.<init>:()V
            putfield jdk.jfr.internal.MetadataRepository.settingsManager:Ljdk/jfr/internal/SettingsManager;
         5: .line 61
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield jdk.jfr.internal.MetadataRepository.mirrors:Ljava/util/Map;
         6: .line 62
            aload 0 /* this */
            iconst_1
            putfield jdk.jfr.internal.MetadataRepository.staleMetadata:Z
         7: .line 64
            aload 0 /* this */
            ldc -1
            putfield jdk.jfr.internal.MetadataRepository.lastUnloaded:J
         8: .line 67
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.MetadataRepository.initializeJVMEventTypes:()V
         9: .line 68
            return
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Ljdk/jfr/internal/MetadataRepository;

  private void initializeJVMEventTypes();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // jdk.jfr.internal.MetadataRepository this
         0: .line 71
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 1 /* requestHooks */
        start local 1 // java.util.List requestHooks
         1: .line 72
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.typeLibrary:Ljdk/jfr/internal/TypeLibrary;
            invokevirtual jdk.jfr.internal.TypeLibrary.getTypes:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 24
      StackMap locals: jdk.jfr.internal.MetadataRepository java.util.List top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.Type
            astore 2 /* type */
        start local 2 // jdk.jfr.internal.Type type
         3: .line 73
            aload 2 /* type */
            instanceof jdk.jfr.internal.PlatformEventType
            ifeq 24
         4: .line 74
            aload 2 /* type */
            checkcast jdk.jfr.internal.PlatformEventType
            astore 4 /* pEventType */
        start local 4 // jdk.jfr.internal.PlatformEventType pEventType
         5: .line 75
            invokestatic jdk.jfr.internal.PrivateAccess.getInstance:()Ljdk/jfr/internal/PrivateAccess;
            aload 4 /* pEventType */
            invokevirtual jdk.jfr.internal.PrivateAccess.newEventType:(Ljdk/jfr/internal/PlatformEventType;)Ljdk/jfr/EventType;
            astore 5 /* eventType */
        start local 5 // jdk.jfr.EventType eventType
         6: .line 76
            aload 4 /* pEventType */
            aload 5 /* eventType */
            ldc Ljdk/jfr/Threshold;
            invokevirtual jdk.jfr.EventType.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
            ifnull 7
            iconst_1
            goto 8
      StackMap locals: jdk.jfr.internal.MetadataRepository java.util.List jdk.jfr.internal.Type java.util.Iterator jdk.jfr.internal.PlatformEventType jdk.jfr.EventType
      StackMap stack: jdk.jfr.internal.PlatformEventType
         7: iconst_0
      StackMap locals: jdk.jfr.internal.MetadataRepository java.util.List jdk.jfr.internal.Type java.util.Iterator jdk.jfr.internal.PlatformEventType jdk.jfr.EventType
      StackMap stack: jdk.jfr.internal.PlatformEventType int
         8: invokevirtual jdk.jfr.internal.PlatformEventType.setHasDuration:(Z)V
         9: .line 77
            aload 4 /* pEventType */
            aload 5 /* eventType */
            ldc Ljdk/jfr/StackTrace;
            invokevirtual jdk.jfr.EventType.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
            ifnull 10
            iconst_1
            goto 11
      StackMap locals:
      StackMap stack: jdk.jfr.internal.PlatformEventType
        10: iconst_0
      StackMap locals: jdk.jfr.internal.MetadataRepository java.util.List jdk.jfr.internal.Type java.util.Iterator jdk.jfr.internal.PlatformEventType jdk.jfr.EventType
      StackMap stack: jdk.jfr.internal.PlatformEventType int
        11: invokevirtual jdk.jfr.internal.PlatformEventType.setHasStackTrace:(Z)V
        12: .line 78
            aload 4 /* pEventType */
            aload 5 /* eventType */
            ldc Ljdk/jfr/internal/Cutoff;
            invokevirtual jdk.jfr.EventType.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
            ifnull 13
            iconst_1
            goto 14
      StackMap locals:
      StackMap stack: jdk.jfr.internal.PlatformEventType
        13: iconst_0
      StackMap locals: jdk.jfr.internal.MetadataRepository java.util.List jdk.jfr.internal.Type java.util.Iterator jdk.jfr.internal.PlatformEventType jdk.jfr.EventType
      StackMap stack: jdk.jfr.internal.PlatformEventType int
        14: invokevirtual jdk.jfr.internal.PlatformEventType.setHasCutoff:(Z)V
        15: .line 79
            aload 4 /* pEventType */
            aload 5 /* eventType */
            ldc Ljdk/jfr/Period;
            invokevirtual jdk.jfr.EventType.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
            ifnull 16
            iconst_1
            goto 17
      StackMap locals:
      StackMap stack: jdk.jfr.internal.PlatformEventType
        16: iconst_0
      StackMap locals: jdk.jfr.internal.MetadataRepository java.util.List jdk.jfr.internal.Type java.util.Iterator jdk.jfr.internal.PlatformEventType jdk.jfr.EventType
      StackMap stack: jdk.jfr.internal.PlatformEventType int
        17: invokevirtual jdk.jfr.internal.PlatformEventType.setHasPeriod:(Z)V
        18: .line 82
            aload 4 /* pEventType */
            invokevirtual jdk.jfr.internal.PlatformEventType.hasPeriod:()Z
            ifeq 22
        19: .line 83
            aload 4 /* pEventType */
            iconst_1
            invokevirtual jdk.jfr.internal.PlatformEventType.setEventHook:(Z)V
        20: .line 84
            ldc "jdk.ExecutionSample"
            aload 2 /* type */
            invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 22
        21: .line 85
            aload 1 /* requestHooks */
            new jdk.jfr.internal.RequestEngine$RequestHook
            dup
            aload 4 /* pEventType */
            invokespecial jdk.jfr.internal.RequestEngine$RequestHook.<init>:(Ljdk/jfr/internal/PlatformEventType;)V
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        22: .line 88
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.nativeControls:Ljava/util/List;
            new jdk.jfr.internal.EventControl
            dup
            aload 4 /* pEventType */
            invokespecial jdk.jfr.internal.EventControl.<init>:(Ljdk/jfr/internal/PlatformEventType;)V
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        23: .line 89
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.nativeEventTypes:Ljava/util/List;
            aload 5 /* eventType */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 5 // jdk.jfr.EventType eventType
        end local 4 // jdk.jfr.internal.PlatformEventType pEventType
        end local 2 // jdk.jfr.internal.Type type
        24: .line 72
      StackMap locals: jdk.jfr.internal.MetadataRepository java.util.List top java.util.Iterator
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
        25: .line 92
            aload 1 /* requestHooks */
            invokestatic jdk.jfr.internal.RequestEngine.addHooks:(Ljava/util/List;)V
        26: .line 93
            return
        end local 1 // java.util.List requestHooks
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   27     0          this  Ljdk/jfr/internal/MetadataRepository;
            1   27     1  requestHooks  Ljava/util/List<Ljdk/jfr/internal/RequestEngine$RequestHook;>;
            3   24     2          type  Ljdk/jfr/internal/Type;
            5   24     4    pEventType  Ljdk/jfr/internal/PlatformEventType;
            6   24     5     eventType  Ljdk/jfr/EventType;

  public static jdk.jfr.internal.MetadataRepository getInstance();
    descriptor: ()Ljdk/jfr/internal/MetadataRepository;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 96
            getstatic jdk.jfr.internal.MetadataRepository.instance:Ljdk/jfr/internal/MetadataRepository;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public synchronized java.util.List<jdk.jfr.EventType> getRegisteredEventTypes();
    descriptor: ()Ljava/util/List;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=5, args_size=1
        start local 0 // jdk.jfr.internal.MetadataRepository this
         0: .line 100
            invokestatic jdk.jfr.internal.MetadataRepository.getEventHandlers:()Ljava/util/List;
            astore 1 /* handlers */
        start local 1 // java.util.List handlers
         1: .line 101
            new java.util.ArrayList
            dup
            aload 1 /* handlers */
            invokeinterface java.util.List.size:()I
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.nativeEventTypes:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            iadd
            invokespecial java.util.ArrayList.<init>:(I)V
            astore 2 /* eventTypes */
        start local 2 // java.util.List eventTypes
         2: .line 102
            aload 1 /* handlers */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 6
      StackMap locals: jdk.jfr.internal.MetadataRepository java.util.List java.util.List top java.util.Iterator
      StackMap stack:
         3: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.handlers.EventHandler
            astore 3 /* h */
        start local 3 // jdk.jfr.internal.handlers.EventHandler h
         4: .line 103
            aload 3 /* h */
            invokevirtual jdk.jfr.internal.handlers.EventHandler.isRegistered:()Z
            ifeq 6
         5: .line 104
            aload 2 /* eventTypes */
            aload 3 /* h */
            invokevirtual jdk.jfr.internal.handlers.EventHandler.getEventType:()Ljdk/jfr/EventType;
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 3 // jdk.jfr.internal.handlers.EventHandler h
         6: .line 102
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         7: .line 107
            aload 2 /* eventTypes */
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.nativeEventTypes:Ljava/util/List;
            invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
            pop
         8: .line 108
            aload 2 /* eventTypes */
            areturn
        end local 2 // java.util.List eventTypes
        end local 1 // java.util.List handlers
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    9     0        this  Ljdk/jfr/internal/MetadataRepository;
            1    9     1    handlers  Ljava/util/List<Ljdk/jfr/internal/handlers/EventHandler;>;
            2    9     2  eventTypes  Ljava/util/List<Ljdk/jfr/EventType;>;
            4    6     3           h  Ljdk/jfr/internal/handlers/EventHandler;
    Signature: ()Ljava/util/List<Ljdk/jfr/EventType;>;

  public synchronized jdk.jfr.EventType getEventType(java.lang.Class<? extends jdk.internal.event.Event>);
    descriptor: (Ljava/lang/Class;)Ljdk/jfr/EventType;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.MetadataRepository this
        start local 1 // java.lang.Class eventClass
         0: .line 112
            aload 0 /* this */
            aload 1 /* eventClass */
            iconst_0
            invokevirtual jdk.jfr.internal.MetadataRepository.getHandler:(Ljava/lang/Class;Z)Ljdk/jfr/internal/handlers/EventHandler;
            astore 2 /* h */
        start local 2 // jdk.jfr.internal.handlers.EventHandler h
         1: .line 113
            aload 2 /* h */
            ifnull 3
            aload 2 /* h */
            invokevirtual jdk.jfr.internal.handlers.EventHandler.isRegistered:()Z
            ifeq 3
         2: .line 114
            aload 2 /* h */
            invokevirtual jdk.jfr.internal.handlers.EventHandler.getEventType:()Ljdk/jfr/EventType;
            areturn
         3: .line 116
      StackMap locals: jdk.jfr.internal.handlers.EventHandler
      StackMap stack:
            new java.lang.IllegalStateException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Event class "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* eventClass */
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " is not registered"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // jdk.jfr.internal.handlers.EventHandler h
        end local 1 // java.lang.Class eventClass
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    4     0        this  Ljdk/jfr/internal/MetadataRepository;
            0    4     1  eventClass  Ljava/lang/Class<+Ljdk/internal/event/Event;>;
            1    4     2           h  Ljdk/jfr/internal/handlers/EventHandler;
    Signature: (Ljava/lang/Class<+Ljdk/internal/event/Event;>;)Ljdk/jfr/EventType;
    MethodParameters:
            Name  Flags
      eventClass  

  public synchronized void unregister(java.lang.Class<? extends jdk.jfr.Event>);
    descriptor: (Ljava/lang/Class;)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.MetadataRepository this
        start local 1 // java.lang.Class eventClass
         0: .line 120
            invokestatic jdk.jfr.internal.Utils.checkRegisterPermission:()V
         1: .line 121
            aload 0 /* this */
            aload 1 /* eventClass */
            iconst_0
            invokevirtual jdk.jfr.internal.MetadataRepository.getHandler:(Ljava/lang/Class;Z)Ljdk/jfr/internal/handlers/EventHandler;
            astore 2 /* handler */
        start local 2 // jdk.jfr.internal.handlers.EventHandler handler
         2: .line 122
            aload 2 /* handler */
            ifnull 4
         3: .line 123
            aload 2 /* handler */
            iconst_0
            invokevirtual jdk.jfr.internal.handlers.EventHandler.setRegistered:(Z)Z
            pop
         4: .line 126
      StackMap locals: jdk.jfr.internal.handlers.EventHandler
      StackMap stack:
            return
        end local 2 // jdk.jfr.internal.handlers.EventHandler handler
        end local 1 // java.lang.Class eventClass
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    5     0        this  Ljdk/jfr/internal/MetadataRepository;
            0    5     1  eventClass  Ljava/lang/Class<+Ljdk/jfr/Event;>;
            2    5     2     handler  Ljdk/jfr/internal/handlers/EventHandler;
    Signature: (Ljava/lang/Class<+Ljdk/jfr/Event;>;)V
    MethodParameters:
            Name  Flags
      eventClass  

  public synchronized jdk.jfr.EventType register(java.lang.Class<? extends jdk.internal.event.Event>);
    descriptor: (Ljava/lang/Class;)Ljdk/jfr/EventType;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.MetadataRepository this
        start local 1 // java.lang.Class eventClass
         0: .line 128
            aload 0 /* this */
            aload 1 /* eventClass */
            invokestatic java.util.Collections.emptyList:()Ljava/util/List;
            invokestatic java.util.Collections.emptyList:()Ljava/util/List;
            invokevirtual jdk.jfr.internal.MetadataRepository.register:(Ljava/lang/Class;Ljava/util/List;Ljava/util/List;)Ljdk/jfr/EventType;
            areturn
        end local 1 // java.lang.Class eventClass
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    1     0        this  Ljdk/jfr/internal/MetadataRepository;
            0    1     1  eventClass  Ljava/lang/Class<+Ljdk/internal/event/Event;>;
    Signature: (Ljava/lang/Class<+Ljdk/internal/event/Event;>;)Ljdk/jfr/EventType;
    MethodParameters:
            Name  Flags
      eventClass  

  public synchronized jdk.jfr.EventType register(java.lang.Class<? extends jdk.internal.event.Event>, java.util.List<jdk.jfr.AnnotationElement>, java.util.List<jdk.jfr.ValueDescriptor>);
    descriptor: (Ljava/lang/Class;Ljava/util/List;Ljava/util/List;)Ljdk/jfr/EventType;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=6, args_size=4
        start local 0 // jdk.jfr.internal.MetadataRepository this
        start local 1 // java.lang.Class eventClass
        start local 2 // java.util.List dynamicAnnotations
        start local 3 // java.util.List dynamicFields
         0: .line 132
            invokestatic jdk.jfr.internal.Utils.checkRegisterPermission:()V
         1: .line 133
            aload 0 /* this */
            aload 1 /* eventClass */
            iconst_1
            invokevirtual jdk.jfr.internal.MetadataRepository.getHandler:(Ljava/lang/Class;Z)Ljdk/jfr/internal/handlers/EventHandler;
            astore 4 /* handler */
        start local 4 // jdk.jfr.internal.handlers.EventHandler handler
         2: .line 134
            aload 4 /* handler */
            ifnonnull 7
         3: .line 135
            aload 1 /* eventClass */
            ldc Ljdk/jfr/internal/MirrorEvent;
            invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
            ifnull 5
         4: .line 137
            aconst_null
            areturn
         5: .line 139
      StackMap locals: jdk.jfr.internal.handlers.EventHandler
      StackMap stack:
            aload 0 /* this */
            aload 1 /* eventClass */
            invokevirtual jdk.jfr.internal.MetadataRepository.findMirrorType:(Ljava/lang/Class;)Ljdk/jfr/internal/PlatformEventType;
            astore 5 /* pe */
        start local 5 // jdk.jfr.internal.PlatformEventType pe
         6: .line 140
            aload 0 /* this */
            aload 1 /* eventClass */
            aload 5 /* pe */
            aload 2 /* dynamicAnnotations */
            aload 3 /* dynamicFields */
            invokevirtual jdk.jfr.internal.MetadataRepository.makeHandler:(Ljava/lang/Class;Ljdk/jfr/internal/PlatformEventType;Ljava/util/List;Ljava/util/List;)Ljdk/jfr/internal/handlers/EventHandler;
            astore 4 /* handler */
        end local 5 // jdk.jfr.internal.PlatformEventType pe
         7: .line 142
      StackMap locals:
      StackMap stack:
            aload 4 /* handler */
            iconst_1
            invokevirtual jdk.jfr.internal.handlers.EventHandler.setRegistered:(Z)Z
            pop
         8: .line 143
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.typeLibrary:Ljdk/jfr/internal/TypeLibrary;
            aload 4 /* handler */
            invokevirtual jdk.jfr.internal.handlers.EventHandler.getPlatformEventType:()Ljdk/jfr/internal/PlatformEventType;
            invokevirtual jdk.jfr.internal.TypeLibrary.addType:(Ljdk/jfr/internal/Type;)V
         9: .line 144
            getstatic jdk.jfr.internal.MetadataRepository.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.isRecording:()Z
            ifeq 14
        10: .line 145
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.MetadataRepository.storeDescriptorInJVM:()V
        11: .line 146
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.settingsManager:Ljdk/jfr/internal/SettingsManager;
            aload 4 /* handler */
            invokevirtual jdk.jfr.internal.handlers.EventHandler.getEventControl:()Ljdk/jfr/internal/EventControl;
            invokevirtual jdk.jfr.internal.SettingsManager.setEventControl:(Ljdk/jfr/internal/EventControl;)V
        12: .line 147
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.settingsManager:Ljdk/jfr/internal/SettingsManager;
            aload 1 /* eventClass */
            invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
            invokevirtual jdk.jfr.internal.SettingsManager.updateRetransform:(Ljava/util/List;)V
        13: .line 148
            goto 15
        14: .line 149
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.MetadataRepository.setStaleMetadata:()V
        15: .line 151
      StackMap locals:
      StackMap stack:
            aload 4 /* handler */
            invokevirtual jdk.jfr.internal.handlers.EventHandler.getEventType:()Ljdk/jfr/EventType;
            areturn
        end local 4 // jdk.jfr.internal.handlers.EventHandler handler
        end local 3 // java.util.List dynamicFields
        end local 2 // java.util.List dynamicAnnotations
        end local 1 // java.lang.Class eventClass
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0   16     0                this  Ljdk/jfr/internal/MetadataRepository;
            0   16     1          eventClass  Ljava/lang/Class<+Ljdk/internal/event/Event;>;
            0   16     2  dynamicAnnotations  Ljava/util/List<Ljdk/jfr/AnnotationElement;>;
            0   16     3       dynamicFields  Ljava/util/List<Ljdk/jfr/ValueDescriptor;>;
            2   16     4             handler  Ljdk/jfr/internal/handlers/EventHandler;
            6    7     5                  pe  Ljdk/jfr/internal/PlatformEventType;
    Signature: (Ljava/lang/Class<+Ljdk/internal/event/Event;>;Ljava/util/List<Ljdk/jfr/AnnotationElement;>;Ljava/util/List<Ljdk/jfr/ValueDescriptor;>;)Ljdk/jfr/EventType;
    MethodParameters:
                    Name  Flags
      eventClass          
      dynamicAnnotations  
      dynamicFields       

  private jdk.jfr.internal.PlatformEventType findMirrorType(java.lang.Class<? extends jdk.internal.event.Event>);
    descriptor: (Ljava/lang/Class;)Ljdk/jfr/internal/PlatformEventType;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=7, args_size=2
        start local 0 // jdk.jfr.internal.MetadataRepository this
        start local 1 // java.lang.Class eventClass
         0: .line 155
            new java.lang.StringBuilder
            dup
            aload 1 /* eventClass */
            invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
            invokevirtual java.lang.Module.getName:()Ljava/lang/String;
            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 1 /* eventClass */
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 2 /* fullName */
        start local 2 // java.lang.String fullName
         1: .line 156
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.mirrors:Ljava/util/Map;
            aload 2 /* fullName */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Class
            astore 3 /* mirrorClass */
        start local 3 // java.lang.Class mirrorClass
         2: .line 157
            aload 3 /* mirrorClass */
            ifnonnull 4
         3: .line 158
            aconst_null
            areturn
         4: .line 160
      StackMap locals: java.lang.String java.lang.Class
      StackMap stack:
            aload 3 /* mirrorClass */
            aload 1 /* eventClass */
            invokestatic jdk.jfr.internal.Utils.verifyMirror:(Ljava/lang/Class;Ljava/lang/Class;)V
         5: .line 161
            aload 3 /* mirrorClass */
            invokestatic jdk.jfr.internal.TypeLibrary.createType:(Ljava/lang/Class;)Ljdk/jfr/internal/Type;
            checkcast jdk.jfr.internal.PlatformEventType
            astore 4 /* et */
        start local 4 // jdk.jfr.internal.PlatformEventType et
         6: .line 162
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.typeLibrary:Ljdk/jfr/internal/TypeLibrary;
            aload 4 /* et */
            invokevirtual jdk.jfr.internal.PlatformEventType.getId:()J
            invokevirtual jdk.jfr.internal.TypeLibrary.removeType:(J)V
         7: .line 163
            aload 1 /* eventClass */
            invokestatic jdk.jfr.internal.Type.getTypeId:(Ljava/lang/Class;)J
            lstore 5 /* id */
        start local 5 // long id
         8: .line 164
            aload 4 /* et */
            lload 5 /* id */
            invokevirtual jdk.jfr.internal.PlatformEventType.setId:(J)V
         9: .line 165
            aload 4 /* et */
            areturn
        end local 5 // long id
        end local 4 // jdk.jfr.internal.PlatformEventType et
        end local 3 // java.lang.Class mirrorClass
        end local 2 // java.lang.String fullName
        end local 1 // java.lang.Class eventClass
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   10     0         this  Ljdk/jfr/internal/MetadataRepository;
            0   10     1   eventClass  Ljava/lang/Class<+Ljdk/internal/event/Event;>;
            1   10     2     fullName  Ljava/lang/String;
            2   10     3  mirrorClass  Ljava/lang/Class<+Ljdk/jfr/Event;>;
            6   10     4           et  Ljdk/jfr/internal/PlatformEventType;
            8   10     5           id  J
    Exceptions:
      throws java.lang.InternalError
    Signature: (Ljava/lang/Class<+Ljdk/internal/event/Event;>;)Ljdk/jfr/internal/PlatformEventType;
    MethodParameters:
            Name  Flags
      eventClass  

  private jdk.jfr.internal.handlers.EventHandler getHandler(java.lang.Class<? extends jdk.internal.event.Event>, boolean);
    descriptor: (Ljava/lang/Class;Z)Ljdk/jfr/internal/handlers/EventHandler;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=3, args_size=3
        start local 0 // jdk.jfr.internal.MetadataRepository this
        start local 1 // java.lang.Class eventClass
        start local 2 // boolean ensureInitialized
         0: .line 169
            aload 1 /* eventClass */
            invokestatic jdk.jfr.internal.Utils.ensureValidEventSubclass:(Ljava/lang/Class;)V
         1: .line 170
            aload 1 /* eventClass */
            invokestatic jdk.jfr.internal.SecuritySupport.makeVisibleToJFR:(Ljava/lang/Class;)V
         2: .line 171
            iload 2 /* ensureInitialized */
            ifeq 4
         3: .line 172
            aload 1 /* eventClass */
            invokestatic jdk.jfr.internal.Utils.ensureInitialized:(Ljava/lang/Class;)V
         4: .line 174
      StackMap locals:
      StackMap stack:
            aload 1 /* eventClass */
            invokestatic jdk.jfr.internal.Utils.getHandler:(Ljava/lang/Class;)Ljdk/jfr/internal/handlers/EventHandler;
            areturn
        end local 2 // boolean ensureInitialized
        end local 1 // java.lang.Class eventClass
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    5     0               this  Ljdk/jfr/internal/MetadataRepository;
            0    5     1         eventClass  Ljava/lang/Class<+Ljdk/internal/event/Event;>;
            0    5     2  ensureInitialized  Z
    Signature: (Ljava/lang/Class<+Ljdk/internal/event/Event;>;Z)Ljdk/jfr/internal/handlers/EventHandler;
    MethodParameters:
                   Name  Flags
      eventClass         
      ensureInitialized  

  private jdk.jfr.internal.handlers.EventHandler makeHandler(java.lang.Class<? extends jdk.internal.event.Event>, jdk.jfr.internal.PlatformEventType, java.util.List<jdk.jfr.AnnotationElement>, java.util.List<jdk.jfr.ValueDescriptor>);
    descriptor: (Ljava/lang/Class;Ljdk/jfr/internal/PlatformEventType;Ljava/util/List;Ljava/util/List;)Ljdk/jfr/internal/handlers/EventHandler;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=9, args_size=5
        start local 0 // jdk.jfr.internal.MetadataRepository this
        start local 1 // java.lang.Class eventClass
        start local 2 // jdk.jfr.internal.PlatformEventType pEventType
        start local 3 // java.util.List dynamicAnnotations
        start local 4 // java.util.List dynamicFields
         0: .line 178
            aload 1 /* eventClass */
            invokestatic jdk.jfr.internal.SecuritySupport.addHandlerExport:(Ljava/lang/Class;)V
         1: .line 179
            aload 2 /* pEventType */
            ifnonnull 3
         2: .line 180
            aload 1 /* eventClass */
            aload 3 /* dynamicAnnotations */
            aload 4 /* dynamicFields */
            invokestatic jdk.jfr.internal.TypeLibrary.createType:(Ljava/lang/Class;Ljava/util/List;Ljava/util/List;)Ljdk/jfr/internal/Type;
            checkcast jdk.jfr.internal.PlatformEventType
            astore 2 /* pEventType */
         3: .line 182
      StackMap locals:
      StackMap stack:
            invokestatic jdk.jfr.internal.PrivateAccess.getInstance:()Ljdk/jfr/internal/PrivateAccess;
            aload 2 /* pEventType */
            invokevirtual jdk.jfr.internal.PrivateAccess.newEventType:(Ljdk/jfr/internal/PlatformEventType;)Ljdk/jfr/EventType;
            astore 5 /* eventType */
        start local 5 // jdk.jfr.EventType eventType
         4: .line 183
            new jdk.jfr.internal.EventControl
            dup
            aload 2 /* pEventType */
            aload 1 /* eventClass */
            invokespecial jdk.jfr.internal.EventControl.<init>:(Ljdk/jfr/internal/PlatformEventType;Ljava/lang/Class;)V
            astore 6 /* ec */
        start local 6 // jdk.jfr.internal.EventControl ec
         5: .line 184
            aconst_null
            astore 7 /* handlerClass */
        start local 7 // java.lang.Class handlerClass
         6: .line 186
            aload 5 /* eventType */
            invokevirtual jdk.jfr.EventType.getId:()J
            invokestatic jdk.jfr.internal.EventHandlerCreator.makeEventHandlerName:(J)Ljava/lang/String;
            astore 8 /* eventHandlerName */
        start local 8 // java.lang.String eventHandlerName
         7: .line 187
            aload 8 /* eventHandlerName */
            iconst_0
            ldc Ljdk/jfr/Event;
            invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
            invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
            ldc Ljdk/jfr/internal/handlers/EventHandler;
            invokevirtual java.lang.Class.asSubclass:(Ljava/lang/Class;)Ljava/lang/Class;
            astore 7 /* handlerClass */
         8: .line 189
            aload 2 /* pEventType */
            invokevirtual jdk.jfr.internal.PlatformEventType.setInstrumented:()V
         9: .line 190
            getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
            new java.lang.StringBuilder
            dup
            ldc "Found existing event handler for "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 5 /* eventType */
            invokevirtual jdk.jfr.EventType.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)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
        end local 8 // java.lang.String eventHandlerName
        10: .line 191
            goto 15
      StackMap locals: jdk.jfr.internal.MetadataRepository java.lang.Class jdk.jfr.internal.PlatformEventType java.util.List java.util.List jdk.jfr.EventType jdk.jfr.internal.EventControl java.lang.Class
      StackMap stack: java.lang.ClassNotFoundException
        11: pop
        12: .line 192
            new jdk.jfr.internal.EventHandlerCreator
            dup
            aload 5 /* eventType */
            invokevirtual jdk.jfr.EventType.getId:()J
            aload 6 /* ec */
            invokevirtual jdk.jfr.internal.EventControl.getSettingInfos:()Ljava/util/List;
            aload 5 /* eventType */
            aload 1 /* eventClass */
            invokespecial jdk.jfr.internal.EventHandlerCreator.<init>:(JLjava/util/List;Ljdk/jfr/EventType;Ljava/lang/Class;)V
            astore 8 /* ehc */
        start local 8 // jdk.jfr.internal.EventHandlerCreator ehc
        13: .line 193
            aload 8 /* ehc */
            invokevirtual jdk.jfr.internal.EventHandlerCreator.makeEventHandlerClass:()Ljava/lang/Class;
            astore 7 /* handlerClass */
        14: .line 194
            getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
            new java.lang.StringBuilder
            dup
            ldc "Created event handler for "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 5 /* eventType */
            invokevirtual jdk.jfr.EventType.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)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
        end local 8 // jdk.jfr.internal.EventHandlerCreator ehc
        15: .line 196
      StackMap locals:
      StackMap stack:
            aload 7 /* handlerClass */
            iconst_1
            aload 5 /* eventType */
            aload 6 /* ec */
            invokestatic jdk.jfr.internal.EventHandlerCreator.instantiateEventHandler:(Ljava/lang/Class;ZLjdk/jfr/EventType;Ljdk/jfr/internal/EventControl;)Ljdk/jfr/internal/handlers/EventHandler;
            astore 8 /* handler */
        start local 8 // jdk.jfr.internal.handlers.EventHandler handler
        16: .line 197
            aload 1 /* eventClass */
            aload 8 /* handler */
            invokestatic jdk.jfr.internal.Utils.setHandler:(Ljava/lang/Class;Ljdk/jfr/internal/handlers/EventHandler;)V
        17: .line 198
            aload 8 /* handler */
            areturn
        end local 8 // jdk.jfr.internal.handlers.EventHandler handler
        end local 7 // java.lang.Class handlerClass
        end local 6 // jdk.jfr.internal.EventControl ec
        end local 5 // jdk.jfr.EventType eventType
        end local 4 // java.util.List dynamicFields
        end local 3 // java.util.List dynamicAnnotations
        end local 2 // jdk.jfr.internal.PlatformEventType pEventType
        end local 1 // java.lang.Class eventClass
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0   18     0                this  Ljdk/jfr/internal/MetadataRepository;
            0   18     1          eventClass  Ljava/lang/Class<+Ljdk/internal/event/Event;>;
            0   18     2          pEventType  Ljdk/jfr/internal/PlatformEventType;
            0   18     3  dynamicAnnotations  Ljava/util/List<Ljdk/jfr/AnnotationElement;>;
            0   18     4       dynamicFields  Ljava/util/List<Ljdk/jfr/ValueDescriptor;>;
            4   18     5           eventType  Ljdk/jfr/EventType;
            5   18     6                  ec  Ljdk/jfr/internal/EventControl;
            6   18     7        handlerClass  Ljava/lang/Class<+Ljdk/jfr/internal/handlers/EventHandler;>;
            7   10     8    eventHandlerName  Ljava/lang/String;
           13   15     8                 ehc  Ljdk/jfr/internal/EventHandlerCreator;
           16   18     8             handler  Ljdk/jfr/internal/handlers/EventHandler;
      Exception table:
        from    to  target  type
           6    10      11  Class java.lang.ClassNotFoundException
    Exceptions:
      throws java.lang.InternalError
    Signature: (Ljava/lang/Class<+Ljdk/internal/event/Event;>;Ljdk/jfr/internal/PlatformEventType;Ljava/util/List<Ljdk/jfr/AnnotationElement;>;Ljava/util/List<Ljdk/jfr/ValueDescriptor;>;)Ljdk/jfr/internal/handlers/EventHandler;
    MethodParameters:
                    Name  Flags
      eventClass          
      pEventType          
      dynamicAnnotations  
      dynamicFields       

  public synchronized void setSettings(java.util.List<java.util.Map<java.lang.String, java.lang.String>>);
    descriptor: (Ljava/util/List;)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.MetadataRepository this
        start local 1 // java.util.List list
         0: .line 203
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.settingsManager:Ljdk/jfr/internal/SettingsManager;
            aload 1 /* list */
            invokevirtual jdk.jfr.internal.SettingsManager.setSettings:(Ljava/util/List;)V
         1: .line 204
            return
        end local 1 // java.util.List list
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jfr/internal/MetadataRepository;
            0    2     1  list  Ljava/util/List<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;
    Signature: (Ljava/util/List<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;)V
    MethodParameters:
      Name  Flags
      list  

  synchronized void disableEvents();
    descriptor: ()V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=1, locals=3, args_size=1
        start local 0 // jdk.jfr.internal.MetadataRepository this
         0: .line 207
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.MetadataRepository.getEventControls:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 2
            goto 3
      StackMap locals: jdk.jfr.internal.MetadataRepository top java.util.Iterator
      StackMap stack:
         1: aload 2
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.EventControl
            astore 1 /* c */
        start local 1 // jdk.jfr.internal.EventControl c
         2: .line 208
            aload 1 /* c */
            invokevirtual jdk.jfr.internal.EventControl.disable:()V
        end local 1 // jdk.jfr.internal.EventControl c
         3: .line 207
      StackMap locals:
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         4: .line 210
            return
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/MetadataRepository;
            2    3     1     c  Ljdk/jfr/internal/EventControl;

  public synchronized java.util.List<jdk.jfr.internal.EventControl> getEventControls();
    descriptor: ()Ljava/util/List;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // jdk.jfr.internal.MetadataRepository this
         0: .line 213
            getstatic jdk.jfr.internal.MetadataRepository.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.getAllEventClasses:()Ljava/util/List;
            astore 1 /* eventClasses */
        start local 1 // java.util.List eventClasses
         1: .line 214
            new java.util.ArrayList
            dup
            aload 1 /* eventClasses */
            invokeinterface java.util.List.size:()I
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.nativeControls:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            iadd
            invokespecial java.util.ArrayList.<init>:(I)V
            astore 2 /* controls */
        start local 2 // java.util.ArrayList controls
         2: .line 215
            aload 2 /* controls */
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.nativeControls:Ljava/util/List;
            invokevirtual java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
            pop
         3: .line 216
            aload 1 /* eventClasses */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 8
      StackMap locals: jdk.jfr.internal.MetadataRepository java.util.List java.util.ArrayList top java.util.Iterator
      StackMap stack:
         4: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.Class
            astore 3 /* clazz */
        start local 3 // java.lang.Class clazz
         5: .line 217
            aload 3 /* clazz */
            invokestatic jdk.jfr.internal.Utils.getHandler:(Ljava/lang/Class;)Ljdk/jfr/internal/handlers/EventHandler;
            astore 5 /* eh */
        start local 5 // jdk.jfr.internal.handlers.EventHandler eh
         6: .line 218
            aload 5 /* eh */
            ifnull 8
         7: .line 219
            aload 2 /* controls */
            aload 5 /* eh */
            invokevirtual jdk.jfr.internal.handlers.EventHandler.getEventControl:()Ljdk/jfr/internal/EventControl;
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        end local 5 // jdk.jfr.internal.handlers.EventHandler eh
        end local 3 // java.lang.Class clazz
         8: .line 216
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
         9: .line 222
            aload 2 /* controls */
            areturn
        end local 2 // java.util.ArrayList controls
        end local 1 // java.util.List eventClasses
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   10     0          this  Ljdk/jfr/internal/MetadataRepository;
            1   10     1  eventClasses  Ljava/util/List<Ljava/lang/Class<+Ljdk/internal/event/Event;>;>;
            2   10     2      controls  Ljava/util/ArrayList<Ljdk/jfr/internal/EventControl;>;
            5    8     3         clazz  Ljava/lang/Class<+Ljdk/internal/event/Event;>;
            6    8     5            eh  Ljdk/jfr/internal/handlers/EventHandler;
    Signature: ()Ljava/util/List<Ljdk/jfr/internal/EventControl;>;

  private void storeDescriptorInJVM();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.MetadataRepository this
         0: .line 226
            getstatic jdk.jfr.internal.MetadataRepository.jvm:Ljdk/jfr/internal/JVM;
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.MetadataRepository.getBinaryRepresentation:()[B
            invokevirtual jdk.jfr.internal.JVM.storeMetadataDescriptor:([B)V
         1: .line 227
            aload 0 /* this */
            iconst_0
            putfield jdk.jfr.internal.MetadataRepository.staleMetadata:Z
         2: .line 228
            return
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jfr/internal/MetadataRepository;
    Exceptions:
      throws java.lang.InternalError

  private static java.util.List<jdk.jfr.internal.handlers.EventHandler> getEventHandlers();
    descriptor: ()Ljava/util/List;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=5, args_size=0
         0: .line 231
            getstatic jdk.jfr.internal.MetadataRepository.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.getAllEventClasses:()Ljava/util/List;
            astore 0 /* allEventClasses */
        start local 0 // java.util.List allEventClasses
         1: .line 232
            new java.util.ArrayList
            dup
            aload 0 /* allEventClasses */
            invokeinterface java.util.List.size:()I
            invokespecial java.util.ArrayList.<init>:(I)V
            astore 1 /* eventHandlers */
        start local 1 // java.util.List eventHandlers
         2: .line 233
            aload 0 /* allEventClasses */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 7
      StackMap locals: java.util.List java.util.List top java.util.Iterator
      StackMap stack:
         3: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.Class
            astore 2 /* clazz */
        start local 2 // java.lang.Class clazz
         4: .line 234
            aload 2 /* clazz */
            invokestatic jdk.jfr.internal.Utils.getHandler:(Ljava/lang/Class;)Ljdk/jfr/internal/handlers/EventHandler;
            astore 4 /* eh */
        start local 4 // jdk.jfr.internal.handlers.EventHandler eh
         5: .line 235
            aload 4 /* eh */
            ifnull 7
         6: .line 236
            aload 1 /* eventHandlers */
            aload 4 /* eh */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 4 // jdk.jfr.internal.handlers.EventHandler eh
        end local 2 // java.lang.Class clazz
         7: .line 233
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         8: .line 239
            aload 1 /* eventHandlers */
            areturn
        end local 1 // java.util.List eventHandlers
        end local 0 // java.util.List allEventClasses
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            1    9     0  allEventClasses  Ljava/util/List<Ljava/lang/Class<+Ljdk/internal/event/Event;>;>;
            2    9     1    eventHandlers  Ljava/util/List<Ljdk/jfr/internal/handlers/EventHandler;>;
            4    7     2            clazz  Ljava/lang/Class<+Ljdk/internal/event/Event;>;
            5    7     4               eh  Ljdk/jfr/internal/handlers/EventHandler;
    Signature: ()Ljava/util/List<Ljdk/jfr/internal/handlers/EventHandler;>;

  private byte[] getBinaryRepresentation();
    descriptor: ()[B
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // jdk.jfr.internal.MetadataRepository this
         0: .line 243
            new java.io.ByteArrayOutputStream
            dup
            ldc 40000
            invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
            astore 1 /* baos */
        start local 1 // java.io.ByteArrayOutputStream baos
         1: .line 244
            new java.io.DataOutputStream
            dup
            aload 1 /* baos */
            invokespecial java.io.DataOutputStream.<init>:(Ljava/io/OutputStream;)V
            astore 2 /* daos */
        start local 2 // java.io.DataOutputStream daos
         2: .line 246
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.typeLibrary:Ljdk/jfr/internal/TypeLibrary;
            invokevirtual jdk.jfr.internal.TypeLibrary.getTypes:()Ljava/util/List;
            astore 3 /* types */
        start local 3 // java.util.List types
         3: .line 247
            aload 3 /* types */
            invokestatic java.util.Collections.sort:(Ljava/util/List;)V
         4: .line 248
            aload 3 /* types */
            aload 2 /* daos */
            invokestatic jdk.jfr.internal.MetadataDescriptor.write:(Ljava/util/List;Ljava/io/DataOutput;)V
         5: .line 249
            aload 2 /* daos */
            invokevirtual java.io.DataOutputStream.flush:()V
         6: .line 250
            aload 1 /* baos */
            invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
         7: areturn
        end local 3 // java.util.List types
         8: .line 251
      StackMap locals: jdk.jfr.internal.MetadataRepository java.io.ByteArrayOutputStream java.io.DataOutputStream
      StackMap stack: java.io.IOException
            astore 3 /* e */
        start local 3 // java.io.IOException e
         9: .line 253
            new java.lang.InternalError
            dup
            aload 3 /* e */
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.io.IOException e
        end local 2 // java.io.DataOutputStream daos
        end local 1 // java.io.ByteArrayOutputStream baos
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   10     0   this  Ljdk/jfr/internal/MetadataRepository;
            1   10     1   baos  Ljava/io/ByteArrayOutputStream;
            2   10     2   daos  Ljava/io/DataOutputStream;
            3    8     3  types  Ljava/util/List<Ljdk/jfr/internal/Type;>;
            9   10     3      e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           2     7       8  Class java.io.IOException

  synchronized boolean isEnabled(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.MetadataRepository this
        start local 1 // java.lang.String eventName
         0: .line 258
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.settingsManager:Ljdk/jfr/internal/SettingsManager;
            aload 1 /* eventName */
            invokevirtual jdk.jfr.internal.SettingsManager.isEnabled:(Ljava/lang/String;)Z
            ireturn
        end local 1 // java.lang.String eventName
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0       this  Ljdk/jfr/internal/MetadataRepository;
            0    1     1  eventName  Ljava/lang/String;
    MethodParameters:
           Name  Flags
      eventName  

  synchronized void setStaleMetadata();
    descriptor: ()V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.MetadataRepository this
         0: .line 262
            aload 0 /* this */
            iconst_1
            putfield jdk.jfr.internal.MetadataRepository.staleMetadata:Z
         1: .line 263
            return
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jfr/internal/MetadataRepository;

  synchronized void setOutput(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.MetadataRepository this
        start local 1 // java.lang.String filename
         0: .line 269
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.staleMetadata:Z
            ifeq 2
         1: .line 270
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.MetadataRepository.storeDescriptorInJVM:()V
         2: .line 272
      StackMap locals:
      StackMap stack:
            getstatic jdk.jfr.internal.MetadataRepository.jvm:Ljdk/jfr/internal/JVM;
            aload 1 /* filename */
            invokevirtual jdk.jfr.internal.JVM.setOutput:(Ljava/lang/String;)V
         3: .line 273
            aload 1 /* filename */
            ifnull 5
         4: .line 274
            invokestatic jdk.jfr.internal.consumer.RepositoryFiles.notifyNewFile:()V
         5: .line 276
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.MetadataRepository.unregisterUnloaded:()V
         6: .line 277
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.unregistered:Z
            ifeq 10
         7: .line 278
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.typeLibrary:Ljdk/jfr/internal/TypeLibrary;
            invokevirtual jdk.jfr.internal.TypeLibrary.clearUnregistered:()Z
            ifeq 9
         8: .line 279
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.MetadataRepository.storeDescriptorInJVM:()V
         9: .line 281
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_0
            putfield jdk.jfr.internal.MetadataRepository.unregistered:Z
        10: .line 283
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.String filename
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   11     0      this  Ljdk/jfr/internal/MetadataRepository;
            0   11     1  filename  Ljava/lang/String;
    MethodParameters:
          Name  Flags
      filename  

  private void unregisterUnloaded();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=8, args_size=1
        start local 0 // jdk.jfr.internal.MetadataRepository this
         0: .line 286
            getstatic jdk.jfr.internal.MetadataRepository.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.getUnloadedEventClassCount:()J
            lstore 1 /* unloaded */
        start local 1 // long unloaded
         1: .line 287
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.lastUnloaded:J
            lload 1 /* unloaded */
            lcmp
            ifeq 17
         2: .line 288
            aload 0 /* this */
            lload 1 /* unloaded */
            putfield jdk.jfr.internal.MetadataRepository.lastUnloaded:J
         3: .line 289
            getstatic jdk.jfr.internal.MetadataRepository.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.getAllEventClasses:()Ljava/util/List;
            astore 3 /* eventClasses */
        start local 3 // java.util.List eventClasses
         4: .line 290
            new java.util.HashSet
            dup
            aload 3 /* eventClasses */
            invokeinterface java.util.List.size:()I
            invokespecial java.util.HashSet.<init>:(I)V
            astore 4 /* knownIds */
        start local 4 // java.util.HashSet knownIds
         5: .line 291
            aload 3 /* eventClasses */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 6
            goto 8
      StackMap locals: jdk.jfr.internal.MetadataRepository long java.util.List java.util.HashSet top java.util.Iterator
      StackMap stack:
         6: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.Class
            astore 5 /* ec */
        start local 5 // java.lang.Class ec
         7: .line 292
            aload 4 /* knownIds */
            aload 5 /* ec */
            invokestatic jdk.jfr.internal.Type.getTypeId:(Ljava/lang/Class;)J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
        end local 5 // java.lang.Class ec
         8: .line 291
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 6
         9: .line 294
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.typeLibrary:Ljdk/jfr/internal/TypeLibrary;
            invokevirtual jdk.jfr.internal.TypeLibrary.getTypes:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 6
            goto 16
      StackMap locals:
      StackMap stack:
        10: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.Type
            astore 5 /* type */
        start local 5 // jdk.jfr.internal.Type type
        11: .line 295
            aload 5 /* type */
            instanceof jdk.jfr.internal.PlatformEventType
            ifeq 16
        12: .line 296
            aload 4 /* knownIds */
            aload 5 /* type */
            invokevirtual jdk.jfr.internal.Type.getId:()J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
            ifne 16
        13: .line 297
            aload 5 /* type */
            checkcast jdk.jfr.internal.PlatformEventType
            astore 7 /* pe */
        start local 7 // jdk.jfr.internal.PlatformEventType pe
        14: .line 298
            aload 7 /* pe */
            invokevirtual jdk.jfr.internal.PlatformEventType.isJVM:()Z
            ifne 16
        15: .line 299
            aload 7 /* pe */
            iconst_0
            invokevirtual jdk.jfr.internal.PlatformEventType.setRegistered:(Z)Z
            pop
        end local 7 // jdk.jfr.internal.PlatformEventType pe
        end local 5 // jdk.jfr.internal.Type type
        16: .line 294
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 10
        end local 4 // java.util.HashSet knownIds
        end local 3 // java.util.List eventClasses
        17: .line 305
      StackMap locals: jdk.jfr.internal.MetadataRepository long
      StackMap stack:
            return
        end local 1 // long unloaded
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   18     0          this  Ljdk/jfr/internal/MetadataRepository;
            1   18     1      unloaded  J
            4   17     3  eventClasses  Ljava/util/List<Ljava/lang/Class<+Ljdk/internal/event/Event;>;>;
            5   17     4      knownIds  Ljava/util/HashSet<Ljava/lang/Long;>;
            7    8     5            ec  Ljava/lang/Class<+Ljdk/internal/event/Event;>;
           11   16     5          type  Ljdk/jfr/internal/Type;
           14   16     7            pe  Ljdk/jfr/internal/PlatformEventType;

  synchronized void setUnregistered();
    descriptor: ()V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.MetadataRepository this
         0: .line 308
            aload 0 /* this */
            iconst_1
            putfield jdk.jfr.internal.MetadataRepository.unregistered:Z
         1: .line 309
            return
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jfr/internal/MetadataRepository;

  public synchronized void registerMirror(java.lang.Class<? extends jdk.jfr.Event>);
    descriptor: (Ljava/lang/Class;)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // jdk.jfr.internal.MetadataRepository this
        start local 1 // java.lang.Class eventClass
         0: .line 312
            aload 1 /* eventClass */
            ldc Ljdk/jfr/internal/MirrorEvent;
            invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
            checkcast jdk.jfr.internal.MirrorEvent
            astore 2 /* me */
        start local 2 // jdk.jfr.internal.MirrorEvent me
         1: .line 313
            aload 2 /* me */
            ifnull 5
         2: .line 314
            new java.lang.StringBuilder
            dup
            aload 2 /* me */
            invokeinterface jdk.jfr.internal.MirrorEvent.module:()Ljava/lang/String;
            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 2 /* me */
            invokeinterface jdk.jfr.internal.MirrorEvent.className:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 3 /* fullName */
        start local 3 // java.lang.String fullName
         3: .line 315
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.mirrors:Ljava/util/Map;
            aload 3 /* fullName */
            aload 1 /* eventClass */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         4: .line 316
            return
        end local 3 // java.lang.String fullName
         5: .line 318
      StackMap locals: jdk.jfr.internal.MirrorEvent
      StackMap stack:
            new java.lang.InternalError
            dup
            new java.lang.StringBuilder
            dup
            ldc "Mirror class must have annotation "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc Ljdk/jfr/internal/MirrorEvent;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // jdk.jfr.internal.MirrorEvent me
        end local 1 // java.lang.Class eventClass
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    6     0        this  Ljdk/jfr/internal/MetadataRepository;
            0    6     1  eventClass  Ljava/lang/Class<+Ljdk/jfr/Event;>;
            1    6     2          me  Ljdk/jfr/internal/MirrorEvent;
            3    5     3    fullName  Ljava/lang/String;
    Signature: (Ljava/lang/Class<+Ljdk/jfr/Event;>;)V
    MethodParameters:
            Name  Flags
      eventClass  

  public synchronized void flush();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.MetadataRepository this
         0: .line 322
            aload 0 /* this */
            getfield jdk.jfr.internal.MetadataRepository.staleMetadata:Z
            ifeq 2
         1: .line 323
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.MetadataRepository.storeDescriptorInJVM:()V
         2: .line 325
      StackMap locals:
      StackMap stack:
            getstatic jdk.jfr.internal.MetadataRepository.jvm:Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.flush:()V
         3: .line 326
            return
        end local 0 // jdk.jfr.internal.MetadataRepository this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/jfr/internal/MetadataRepository;
}
SourceFile: "MetadataRepository.java"
InnerClasses:
  final SettingInfo = jdk.jfr.internal.EventInstrumentation$SettingInfo of jdk.jfr.internal.EventInstrumentation
  final RequestHook = jdk.jfr.internal.RequestEngine$RequestHook of jdk.jfr.internal.RequestEngine