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

  private jdk.jfr.internal.management.ChunkFilename chunkFilename;
    descriptor: Ljdk/jfr/internal/management/ChunkFilename;
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 41
            invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
            putstatic jdk.jfr.internal.Repository.jvm:Ljdk/jfr/internal/JVM;
         1: .line 42
            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 44
            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 51
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 46
            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 52
            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 55
            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 59
            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 60
            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 61
            return
         3: .line 65
      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 66
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.Repository.chunkFilename:Ljdk/jfr/internal/management/ChunkFilename;
         5: .line 70
            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
         6: .line 71
            goto 9
      StackMap locals:
      StackMap stack: java.io.IOException
         7: pop
         8: .line 72
            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
         9: .line 74
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* baseLocation */
            putfield jdk.jfr.internal.Repository.baseLocation:Ljdk/jfr/internal/SecuritySupport$SafePath;
        10: .line 75
            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   11     0          this  Ljdk/jfr/internal/Repository;
            0   11     1  baseLocation  Ljdk/jfr/internal/SecuritySupport$SafePath;
      Exception table:
        from    to  target  type
           5     6       7  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 78
            aload 0 /* this */
            getfield jdk.jfr.internal.Repository.baseLocation:Ljdk/jfr/internal/SecuritySupport$SafePath;
            ifnonnull 2
         1: .line 79
            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 81
      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 85
            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 6
         1: .line 86
            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 87
            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 88
            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 89
            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 90
            aload 0 /* this */
            aconst_null
            putfield jdk.jfr.internal.Repository.chunkFilename:Ljdk/jfr/internal/management/ChunkFilename;
         6: .line 92
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.Repository.chunkFilename:Ljdk/jfr/internal/management/ChunkFilename;
            ifnonnull 8
         7: .line 93
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.jfr.internal.Repository.repository:Ljdk/jfr/internal/SecuritySupport$SafePath;
            invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.toPath:()Ljava/nio/file/Path;
            invokestatic jdk.jfr.internal.management.ChunkFilename.newPriviliged:(Ljava/nio/file/Path;)Ljdk/jfr/internal/management/ChunkFilename;
            putfield jdk.jfr.internal.Repository.chunkFilename:Ljdk/jfr/internal/management/ChunkFilename;
         8: .line 95
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.Repository.chunkFilename:Ljdk/jfr/internal/management/ChunkFilename;
            aload 1 /* timestamp */
            invokevirtual java.time.ZonedDateTime.toLocalDateTime:()Ljava/time/LocalDateTime;
            invokevirtual jdk.jfr.internal.management.ChunkFilename.next:(Ljava/time/LocalDateTime;)Ljava/lang/String;
            astore 2 /* filename */
        start local 2 // java.lang.String filename
         9: .line 96
            new jdk.jfr.internal.RepositoryChunk
            dup
            new jdk.jfr.internal.SecuritySupport$SafePath
            dup
            aload 2 /* filename */
            invokespecial jdk.jfr.internal.SecuritySupport$SafePath.<init>:(Ljava/lang/String;)V
            aload 1 /* timestamp */
            invokevirtual java.time.ZonedDateTime.toInstant:()Ljava/time/Instant;
            invokespecial jdk.jfr.internal.RepositoryChunk.<init>:(Ljdk/jfr/internal/SecuritySupport$SafePath;Ljava/time/Instant;)V
        10: areturn
        end local 2 // java.lang.String filename
        11: .line 97
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 2 /* e */
        start local 2 // java.lang.Exception e
        12: .line 98
            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
        13: .line 99
            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
        14: .line 100
            getstatic jdk.jfr.internal.Repository.jvm:Ljdk/jfr/internal/JVM;
            aload 3 /* errorMsg */
            invokevirtual jdk.jfr.internal.JVM.abort:(Ljava/lang/String;)V
        15: .line 101
            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   16     0       this  Ljdk/jfr/internal/Repository;
            0   16     1  timestamp  Ljava/time/ZonedDateTime;
            9   11     2   filename  Ljava/lang/String;
           12   16     2          e  Ljava/lang/Exception;
           13   16     3   errorMsg  Ljava/lang/String;
      Exception table:
        from    to  target  type
           0    10      11  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 106
            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 107
            aconst_null
            astore 2 /* f */
        start local 2 // jdk.jfr.internal.SecuritySupport$SafePath f
         2: .line 109
            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 110
            aload 3 /* basename */
            astore 4 /* name */
        start local 4 // java.lang.String name
         4: .line 112
            iconst_0
            istore 5 /* i */
        start local 5 // int i
         5: .line 113
            goto 11
         6: .line 114
      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 115
            aload 2 /* f */
            invokestatic jdk.jfr.internal.Repository.tryToUseAsRepository:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
            ifeq 9
         8: .line 116
            goto 12
         9: .line 118
      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 113
            iinc 5 /* i */ 1
      StackMap locals:
      StackMap stack:
        11: iload 5 /* i */
            sipush 1000
            if_icmplt 6
        12: .line 121
      StackMap locals:
      StackMap stack:
            iload 5 /* i */
            sipush 1000
            if_icmpne 14
        13: .line 122
            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 124
      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 128
            aload 0 /* safePath */
            invokestatic jdk.jfr.internal.SecuritySupport.exists:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
            ifeq 4
         1: .line 129
            aload 0 /* safePath */
            invokestatic jdk.jfr.internal.SecuritySupport.isWritable:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
            ifne 3
         2: .line 130
            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 132
      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 134
      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 135
            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 139
            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 140
            aload 1 /* parent */
            ifnonnull 3
         2: .line 141
            iconst_0
            ireturn
         3: .line 145
      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 146
            goto 6
      StackMap locals:
      StackMap stack: java.lang.Exception
         5: pop
         6: .line 149
      StackMap locals:
      StackMap stack:
            aload 0 /* path */
            invokestatic jdk.jfr.internal.SecuritySupport.exists:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
            ifne 8
         7: .line 150
            iconst_0
            ireturn
         8: .line 152
      StackMap locals:
      StackMap stack:
            aload 0 /* path */
            invokestatic jdk.jfr.internal.SecuritySupport.isDirectory:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
            ifne 10
         9: .line 153
            iconst_0
            ireturn
        10: .line 155
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        11: .line 156
      StackMap locals:
      StackMap stack: java.io.IOException
            pop
        12: .line 157
            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 162
            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 164
            aload 1 /* p */
            invokestatic jdk.jfr.internal.SecuritySupport.clearDirectory:(Ljdk/jfr/internal/SecuritySupport$SafePath;)V
         3: .line 165
            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 166
            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 167
            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 162
      StackMap locals: jdk.jfr.internal.Repository top java.util.Iterator
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         8: .line 170
            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 173
            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 177
            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