public final class jdk.jfr.internal.Repository
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.jfr.internal.Repository
  super_class: java.lang.Object
{
  private static final int MAX_REPO_CREATION_RETRIES;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 1000

  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.Repository instance;
    descriptor: Ljdk/jfr/internal/Repository;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.lang.String JFR_REPOSITORY_LOCATION_PROPERTY;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "jdk.jfr.repository"

  private final java.util.Set<jdk.jfr.internal.SecuritySupport$SafePath> cleanupDirectories;
    descriptor: Ljava/util/Set;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Set<Ljdk/jfr/internal/SecuritySupport$SafePath;>;

  private jdk.jfr.internal.SecuritySupport$SafePath baseLocation;
    descriptor: Ljdk/jfr/internal/SecuritySupport$SafePath;
    flags: (0x0002) ACC_PRIVATE

  private jdk.jfr.internal.SecuritySupport$SafePath repository;
    descriptor: Ljdk/jfr/internal/SecuritySupport$SafePath;
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 40
            invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
            putstatic jdk.jfr.internal.Repository.jvm:Ljdk/jfr/internal/JVM;
         1: .line 41
            new jdk.jfr.internal.Repository
            dup
            invokespecial jdk.jfr.internal.Repository.<init>:()V
            putstatic jdk.jfr.internal.Repository.instance:Ljdk/jfr/internal/Repository;
         2: .line 43
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.Repository this
         0: .line 49
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 45
            aload 0 /* this */
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            putfield jdk.jfr.internal.Repository.cleanupDirectories:Ljava/util/Set;
         2: .line 50
            return
        end local 0 // jdk.jfr.internal.Repository this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jfr/internal/Repository;

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

  public synchronized void setBasePath(jdk.jfr.internal.SecuritySupport$SafePath);
    descriptor: (Ljdk/jfr/internal/SecuritySupport$SafePath;)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.Repository this
        start local 1 // jdk.jfr.internal.SecuritySupport$SafePath baseLocation
         0: .line 57
            aload 1 /* baseLocation */
            aload 0 /* this */
            getfield jdk.jfr.internal.Repository.baseLocation:Ljdk/jfr/internal/SecuritySupport$SafePath;
            invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.equals:(Ljava/lang/Object;)Z
            ifeq 3
         1: .line 58
            getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
            new java.lang.StringBuilder
            dup
            ldc "Same base repository path "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* baseLocation */
            invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.toString:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " is set"
            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
         2: .line 59
            return
         3: .line 63
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* baseLocation */
            invokestatic jdk.jfr.internal.Repository.createRepository:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Ljdk/jfr/internal/SecuritySupport$SafePath;
            putfield jdk.jfr.internal.Repository.repository:Ljdk/jfr/internal/SecuritySupport$SafePath;
         4: .line 67
            aload 0 /* this */
            getfield jdk.jfr.internal.Repository.repository:Ljdk/jfr/internal/SecuritySupport$SafePath;
            invokestatic jdk.jfr.internal.SecuritySupport.delete:(Ljdk/jfr/internal/SecuritySupport$SafePath;)V
         5: .line 68
            goto 8
      StackMap locals:
      StackMap stack: java.io.IOException
         6: pop
         7: .line 69
            getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
            new java.lang.StringBuilder
            dup
            ldc "Could not delete disk repository "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield jdk.jfr.internal.Repository.repository:Ljdk/jfr/internal/SecuritySupport$SafePath;
            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
         8: .line 71
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* baseLocation */
            putfield jdk.jfr.internal.Repository.baseLocation:Ljdk/jfr/internal/SecuritySupport$SafePath;
         9: .line 72
            return
        end local 1 // jdk.jfr.internal.SecuritySupport$SafePath baseLocation
        end local 0 // jdk.jfr.internal.Repository this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   10     0          this  Ljdk/jfr/internal/Repository;
            0   10     1  baseLocation  Ljdk/jfr/internal/SecuritySupport$SafePath;
      Exception table:
        from    to  target  type
           4     5       6  Class java.io.IOException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
              Name  Flags
      baseLocation  

  public synchronized void ensureRepository();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.Repository this
         0: .line 75
            aload 0 /* this */
            getfield jdk.jfr.internal.Repository.baseLocation:Ljdk/jfr/internal/SecuritySupport$SafePath;
            ifnonnull 2
         1: .line 76
            aload 0 /* this */
            getstatic jdk.jfr.internal.SecuritySupport.JAVA_IO_TMPDIR:Ljdk/jfr/internal/SecuritySupport$SafePath;
            invokevirtual jdk.jfr.internal.Repository.setBasePath:(Ljdk/jfr/internal/SecuritySupport$SafePath;)V
         2: .line 78
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.jfr.internal.Repository this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jfr/internal/Repository;
    Exceptions:
      throws java.io.IOException

  synchronized jdk.jfr.internal.RepositoryChunk newChunk(java.time.ZonedDateTime);
    descriptor: (Ljava/time/ZonedDateTime;)Ljdk/jfr/internal/RepositoryChunk;
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // jdk.jfr.internal.Repository this
        start local 1 // java.time.ZonedDateTime timestamp
         0: .line 82
            aload 0 /* this */
            getfield jdk.jfr.internal.Repository.repository:Ljdk/jfr/internal/SecuritySupport$SafePath;
            invokestatic jdk.jfr.internal.SecuritySupport.existDirectory:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
            ifne 5
         1: .line 83
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.jfr.internal.Repository.baseLocation:Ljdk/jfr/internal/SecuritySupport$SafePath;
            invokestatic jdk.jfr.internal.Repository.createRepository:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Ljdk/jfr/internal/SecuritySupport$SafePath;
            putfield jdk.jfr.internal.Repository.repository:Ljdk/jfr/internal/SecuritySupport$SafePath;
         2: .line 84
            getstatic jdk.jfr.internal.Repository.jvm:Ljdk/jfr/internal/JVM;
            aload 0 /* this */
            getfield jdk.jfr.internal.Repository.repository:Ljdk/jfr/internal/SecuritySupport$SafePath;
            invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.toString:()Ljava/lang/String;
            invokevirtual jdk.jfr.internal.JVM.setRepositoryLocation:(Ljava/lang/String;)V
         3: .line 85
            ldc "jdk.jfr.repository"
            aload 0 /* this */
            getfield jdk.jfr.internal.Repository.repository:Ljdk/jfr/internal/SecuritySupport$SafePath;
            invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.toString:()Ljava/lang/String;
            invokestatic jdk.jfr.internal.SecuritySupport.setProperty:(Ljava/lang/String;Ljava/lang/String;)V
         4: .line 86
            aload 0 /* this */
            getfield jdk.jfr.internal.Repository.cleanupDirectories:Ljava/util/Set;
            aload 0 /* this */
            getfield jdk.jfr.internal.Repository.repository:Ljdk/jfr/internal/SecuritySupport$SafePath;
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
         5: .line 88
      StackMap locals:
      StackMap stack:
            new jdk.jfr.internal.RepositoryChunk
            dup
            aload 0 /* this */
            getfield jdk.jfr.internal.Repository.repository:Ljdk/jfr/internal/SecuritySupport$SafePath;
            aload 1 /* timestamp */
            invokespecial jdk.jfr.internal.RepositoryChunk.<init>:(Ljdk/jfr/internal/SecuritySupport$SafePath;Ljava/time/ZonedDateTime;)V
         6: areturn
         7: .line 89
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 2 /* e */
        start local 2 // java.lang.Exception e
         8: .line 90
            ldc "Could not create chunk in repository %s, %s: %s"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield jdk.jfr.internal.Repository.repository:Ljdk/jfr/internal/SecuritySupport$SafePath;
            aastore
            dup
            iconst_1
            aload 2 /* e */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            aastore
            dup
            iconst_2
            aload 2 /* e */
            invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            astore 3 /* errorMsg */
        start local 3 // java.lang.String errorMsg
         9: .line 91
            getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.ERROR:Ljdk/jfr/internal/LogLevel;
            aload 3 /* errorMsg */
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
        10: .line 92
            getstatic jdk.jfr.internal.Repository.jvm:Ljdk/jfr/internal/JVM;
            aload 3 /* errorMsg */
            invokevirtual jdk.jfr.internal.JVM.abort:(Ljava/lang/String;)V
        11: .line 93
            new java.lang.InternalError
            dup
            ldc "Could not abort after JFR disk creation error"
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // java.lang.String errorMsg
        end local 2 // java.lang.Exception e
        end local 1 // java.time.ZonedDateTime timestamp
        end local 0 // jdk.jfr.internal.Repository this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   12     0       this  Ljdk/jfr/internal/Repository;
            0   12     1  timestamp  Ljava/time/ZonedDateTime;
            8   12     2          e  Ljava/lang/Exception;
            9   12     3   errorMsg  Ljava/lang/String;
      Exception table:
        from    to  target  type
           0     6       7  Class java.lang.Exception
    MethodParameters:
           Name  Flags
      timestamp  

  private static jdk.jfr.internal.SecuritySupport$SafePath createRepository(jdk.jfr.internal.SecuritySupport$SafePath);
    descriptor: (Ljdk/jfr/internal/SecuritySupport$SafePath;)Ljdk/jfr/internal/SecuritySupport$SafePath;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=6, args_size=1
        start local 0 // jdk.jfr.internal.SecuritySupport$SafePath basePath
         0: .line 98
            aload 0 /* basePath */
            invokestatic jdk.jfr.internal.Repository.createRealBasePath:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Ljdk/jfr/internal/SecuritySupport$SafePath;
            astore 1 /* canonicalBaseRepositoryPath */
        start local 1 // jdk.jfr.internal.SecuritySupport$SafePath canonicalBaseRepositoryPath
         1: .line 99
            aconst_null
            astore 2 /* f */
        start local 2 // jdk.jfr.internal.SecuritySupport$SafePath f
         2: .line 101
            new java.lang.StringBuilder
            dup
            invokestatic java.time.LocalDateTime.now:()Ljava/time/LocalDateTime;
            invokestatic jdk.jfr.internal.Utils.formatDateTime:(Ljava/time/LocalDateTime;)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;
            invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
            invokevirtual jdk.jfr.internal.JVM.getPid:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 3 /* basename */
        start local 3 // java.lang.String basename
         3: .line 102
            aload 3 /* basename */
            astore 4 /* name */
        start local 4 // java.lang.String name
         4: .line 104
            iconst_0
            istore 5 /* i */
        start local 5 // int i
         5: .line 105
            goto 11
         6: .line 106
      StackMap locals: jdk.jfr.internal.SecuritySupport$SafePath jdk.jfr.internal.SecuritySupport$SafePath jdk.jfr.internal.SecuritySupport$SafePath java.lang.String java.lang.String int
      StackMap stack:
            new jdk.jfr.internal.SecuritySupport$SafePath
            dup
            aload 1 /* canonicalBaseRepositoryPath */
            invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.toPath:()Ljava/nio/file/Path;
            aload 4 /* name */
            invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
            invokespecial jdk.jfr.internal.SecuritySupport$SafePath.<init>:(Ljava/nio/file/Path;)V
            astore 2 /* f */
         7: .line 107
            aload 2 /* f */
            invokestatic jdk.jfr.internal.Repository.tryToUseAsRepository:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
            ifeq 9
         8: .line 108
            goto 12
         9: .line 110
      StackMap locals:
      StackMap stack:
            new java.lang.StringBuilder
            dup
            aload 3 /* basename */
            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;
            iload 5 /* i */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 4 /* name */
        10: .line 105
            iinc 5 /* i */ 1
      StackMap locals:
      StackMap stack:
        11: iload 5 /* i */
            sipush 1000
            if_icmplt 6
        12: .line 113
      StackMap locals:
      StackMap stack:
            iload 5 /* i */
            sipush 1000
            if_icmpne 14
        13: .line 114
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unable to create JFR repository directory using base location ("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* basePath */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        14: .line 116
      StackMap locals:
      StackMap stack:
            aload 2 /* f */
            invokestatic jdk.jfr.internal.SecuritySupport.toRealPath:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Ljdk/jfr/internal/SecuritySupport$SafePath;
            areturn
        end local 5 // int i
        end local 4 // java.lang.String name
        end local 3 // java.lang.String basename
        end local 2 // jdk.jfr.internal.SecuritySupport$SafePath f
        end local 1 // jdk.jfr.internal.SecuritySupport$SafePath canonicalBaseRepositoryPath
        end local 0 // jdk.jfr.internal.SecuritySupport$SafePath basePath
      LocalVariableTable:
        Start  End  Slot                         Name  Signature
            0   15     0                     basePath  Ljdk/jfr/internal/SecuritySupport$SafePath;
            1   15     1  canonicalBaseRepositoryPath  Ljdk/jfr/internal/SecuritySupport$SafePath;
            2   15     2                            f  Ljdk/jfr/internal/SecuritySupport$SafePath;
            3   15     3                     basename  Ljava/lang/String;
            4   15     4                         name  Ljava/lang/String;
            5   15     5                            i  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      basePath  

  private static jdk.jfr.internal.SecuritySupport$SafePath createRealBasePath(jdk.jfr.internal.SecuritySupport$SafePath);
    descriptor: (Ljdk/jfr/internal/SecuritySupport$SafePath;)Ljdk/jfr/internal/SecuritySupport$SafePath;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // jdk.jfr.internal.SecuritySupport$SafePath safePath
         0: .line 120
            aload 0 /* safePath */
            invokestatic jdk.jfr.internal.SecuritySupport.exists:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
            ifeq 4
         1: .line 121
            aload 0 /* safePath */
            invokestatic jdk.jfr.internal.SecuritySupport.isWritable:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
            ifne 3
         2: .line 122
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            ldc "JFR repository directory ("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* safePath */
            invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.toString:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc ") exists, but isn't writable"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 124
      StackMap locals:
      StackMap stack:
            aload 0 /* safePath */
            invokestatic jdk.jfr.internal.SecuritySupport.toRealPath:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Ljdk/jfr/internal/SecuritySupport$SafePath;
            areturn
         4: .line 126
      StackMap locals:
      StackMap stack:
            aload 0 /* safePath */
            invokestatic jdk.jfr.internal.SecuritySupport.createDirectories:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Ljdk/jfr/internal/SecuritySupport$SafePath;
            astore 1 /* p */
        start local 1 // jdk.jfr.internal.SecuritySupport$SafePath p
         5: .line 127
            aload 1 /* p */
            invokestatic jdk.jfr.internal.SecuritySupport.toRealPath:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Ljdk/jfr/internal/SecuritySupport$SafePath;
            areturn
        end local 1 // jdk.jfr.internal.SecuritySupport$SafePath p
        end local 0 // jdk.jfr.internal.SecuritySupport$SafePath safePath
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    6     0  safePath  Ljdk/jfr/internal/SecuritySupport$SafePath;
            5    6     1         p  Ljdk/jfr/internal/SecuritySupport$SafePath;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      safePath  

  private static boolean tryToUseAsRepository(jdk.jfr.internal.SecuritySupport$SafePath);
    descriptor: (Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // jdk.jfr.internal.SecuritySupport$SafePath path
         0: .line 131
            aload 0 /* path */
            invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.toPath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
            astore 1 /* parent */
        start local 1 // java.nio.file.Path parent
         1: .line 132
            aload 1 /* parent */
            ifnonnull 3
         2: .line 133
            iconst_0
            ireturn
         3: .line 137
      StackMap locals: java.nio.file.Path
      StackMap stack:
            aload 0 /* path */
            invokestatic jdk.jfr.internal.SecuritySupport.createDirectories:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Ljdk/jfr/internal/SecuritySupport$SafePath;
            pop
         4: .line 138
            goto 6
      StackMap locals:
      StackMap stack: java.lang.Exception
         5: pop
         6: .line 141
      StackMap locals:
      StackMap stack:
            aload 0 /* path */
            invokestatic jdk.jfr.internal.SecuritySupport.exists:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
            ifne 8
         7: .line 142
            iconst_0
            ireturn
         8: .line 144
      StackMap locals:
      StackMap stack:
            aload 0 /* path */
            invokestatic jdk.jfr.internal.SecuritySupport.isDirectory:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
            ifne 10
         9: .line 145
            iconst_0
            ireturn
        10: .line 147
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        11: .line 148
      StackMap locals:
      StackMap stack: java.io.IOException
            pop
        12: .line 149
            iconst_0
            ireturn
        end local 1 // java.nio.file.Path parent
        end local 0 // jdk.jfr.internal.SecuritySupport$SafePath path
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   13     0    path  Ljdk/jfr/internal/SecuritySupport$SafePath;
            1   13     1  parent  Ljava/nio/file/Path;
      Exception table:
        from    to  target  type
           3     4       5  Class java.lang.Exception
           3     7      11  Class java.io.IOException
           8     9      11  Class java.io.IOException
    MethodParameters:
      Name  Flags
      path  final

  synchronized void clear();
    descriptor: ()V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=5, locals=4, args_size=1
        start local 0 // jdk.jfr.internal.Repository this
         0: .line 154
            aload 0 /* this */
            getfield jdk.jfr.internal.Repository.cleanupDirectories:Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 2
            goto 7
      StackMap locals: jdk.jfr.internal.Repository top java.util.Iterator
      StackMap stack:
         1: aload 2
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.SecuritySupport$SafePath
            astore 1 /* p */
        start local 1 // jdk.jfr.internal.SecuritySupport$SafePath p
         2: .line 156
            aload 1 /* p */
            invokestatic jdk.jfr.internal.SecuritySupport.clearDirectory:(Ljdk/jfr/internal/SecuritySupport$SafePath;)V
         3: .line 157
            getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
            new java.lang.StringBuilder
            dup
            ldc "Removed repository "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* p */
            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
         4: .line 158
            goto 7
      StackMap locals: jdk.jfr.internal.Repository jdk.jfr.internal.SecuritySupport$SafePath java.util.Iterator
      StackMap stack: java.io.IOException
         5: astore 3 /* e */
        start local 3 // java.io.IOException e
         6: .line 159
            getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
            new java.lang.StringBuilder
            dup
            ldc "Repository "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* p */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " could not be removed at shutdown: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 3 /* e */
            invokevirtual java.io.IOException.getMessage:()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 3 // java.io.IOException e
        end local 1 // jdk.jfr.internal.SecuritySupport$SafePath p
         7: .line 154
      StackMap locals: jdk.jfr.internal.Repository top java.util.Iterator
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         8: .line 162
            return
        end local 0 // jdk.jfr.internal.Repository this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Ljdk/jfr/internal/Repository;
            2    7     1     p  Ljdk/jfr/internal/SecuritySupport$SafePath;
            6    7     3     e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           2     4       5  Class java.io.IOException

  public synchronized jdk.jfr.internal.SecuritySupport$SafePath getRepositoryPath();
    descriptor: ()Ljdk/jfr/internal/SecuritySupport$SafePath;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.Repository this
         0: .line 165
            aload 0 /* this */
            getfield jdk.jfr.internal.Repository.repository:Ljdk/jfr/internal/SecuritySupport$SafePath;
            areturn
        end local 0 // jdk.jfr.internal.Repository this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/Repository;

  public synchronized jdk.jfr.internal.SecuritySupport$SafePath getBaseLocation();
    descriptor: ()Ljdk/jfr/internal/SecuritySupport$SafePath;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.Repository this
         0: .line 169
            aload 0 /* this */
            getfield jdk.jfr.internal.Repository.baseLocation:Ljdk/jfr/internal/SecuritySupport$SafePath;
            areturn
        end local 0 // jdk.jfr.internal.Repository this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/Repository;
}
SourceFile: "Repository.java"
InnerClasses:
  public final SafePath = jdk.jfr.internal.SecuritySupport$SafePath of jdk.jfr.internal.SecuritySupport