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

  public static final java.time.format.DateTimeFormatter REPO_DATE_FORMAT;
    descriptor: Ljava/time/format/DateTimeFormatter;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  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 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 45
            ldc "yyyy_MM_dd_HH_mm_ss"
            invokestatic java.time.format.DateTimeFormatter.ofPattern:(Ljava/lang/String;)Ljava/time/format/DateTimeFormatter;
         3: .line 44
            putstatic jdk.jfr.internal.Repository.REPO_DATE_FORMAT:Ljava/time/format/DateTimeFormatter;
         4: .line 45
            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 47
            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 61
            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;
         1: .line 65
            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
         2: .line 66
            goto 5
      StackMap locals:
      StackMap stack: java.io.IOException
         3: pop
         4: .line 67
            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
         5: .line 69
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* baseLocation */
            putfield jdk.jfr.internal.Repository.baseLocation:Ljdk/jfr/internal/SecuritySupport$SafePath;
         6: .line 70
            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    7     0          this  Ljdk/jfr/internal/Repository;
            0    7     1  baseLocation  Ljdk/jfr/internal/SecuritySupport$SafePath;
      Exception table:
        from    to  target  type
           1     2       3  Class java.io.IOException
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
              Name  Flags
      baseLocation  

  synchronized void ensureRepository();
    descriptor: ()V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.Repository this
         0: .line 73
            aload 0 /* this */
            getfield jdk.jfr.internal.Repository.baseLocation:Ljdk/jfr/internal/SecuritySupport$SafePath;
            ifnonnull 2
         1: .line 74
            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 76
      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.lang.Exception

  synchronized jdk.jfr.internal.RepositoryChunk newChunk(java.time.Instant);
    descriptor: (Ljava/time/Instant;)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.Instant timestamp
         0: .line 80
            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 4
         1: .line 81
            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 82
            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 83
            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
         4: .line 85
      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/Instant;)V
         5: areturn
         6: .line 86
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 2 /* e */
        start local 2 // java.lang.Exception e
         7: .line 87
            ldc "Could not create chunk in repository %s, %s"
            iconst_2
            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.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
         8: .line 88
            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
         9: .line 89
            getstatic jdk.jfr.internal.Repository.jvm:Ljdk/jfr/internal/JVM;
            aload 3 /* errorMsg */
            invokevirtual jdk.jfr.internal.JVM.abort:(Ljava/lang/String;)V
        10: .line 90
            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.Instant timestamp
        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  timestamp  Ljava/time/Instant;
            7   11     2          e  Ljava/lang/Exception;
            8   11     3   errorMsg  Ljava/lang/String;
      Exception table:
        from    to  target  type
           0     5       6  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=7, args_size=1
        start local 0 // jdk.jfr.internal.SecuritySupport$SafePath basePath
         0: .line 95
            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 96
            aconst_null
            astore 2 /* f */
        start local 2 // jdk.jfr.internal.SecuritySupport$SafePath f
         2: .line 98
            new java.lang.StringBuilder
            dup
            getstatic jdk.jfr.internal.Repository.REPO_DATE_FORMAT:Ljava/time/format/DateTimeFormatter;
            invokestatic java.time.LocalDateTime.now:()Ljava/time/LocalDateTime;
            invokevirtual java.time.format.DateTimeFormatter.format:(Ljava/time/temporal/TemporalAccessor;)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 99
            aload 3 /* basename */
            astore 4 /* name */
        start local 4 // java.lang.String name
         4: .line 101
            iconst_0
            istore 5 /* i */
        start local 5 // int i
         5: .line 102
            goto 11
         6: .line 103
      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 104
            aload 2 /* f */
            invokestatic jdk.jfr.internal.Repository.tryToUseAsRepository:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
            ifeq 9
         8: .line 105
            goto 12
         9: .line 107
      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 102
            iinc 5 /* i */ 1
      StackMap locals:
      StackMap stack:
        11: iload 5 /* i */
            sipush 1000
            if_icmplt 6
        12: .line 110
      StackMap locals:
      StackMap stack:
            iload 5 /* i */
            sipush 1000
            if_icmpne 14
        13: .line 111
            new java.lang.Exception
            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.lang.Exception.<init>:(Ljava/lang/String;)V
            athrow
        14: .line 113
      StackMap locals:
      StackMap stack:
            aload 2 /* f */
            invokestatic jdk.jfr.internal.SecuritySupport.toRealPath:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Ljdk/jfr/internal/SecuritySupport$SafePath;
            astore 6 /* canonicalRepositoryPath */
        start local 6 // jdk.jfr.internal.SecuritySupport$SafePath canonicalRepositoryPath
        15: .line 114
            aload 6 /* canonicalRepositoryPath */
            areturn
        end local 6 // jdk.jfr.internal.SecuritySupport$SafePath canonicalRepositoryPath
        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   16     0                     basePath  Ljdk/jfr/internal/SecuritySupport$SafePath;
            1   16     1  canonicalBaseRepositoryPath  Ljdk/jfr/internal/SecuritySupport$SafePath;
            2   16     2                            f  Ljdk/jfr/internal/SecuritySupport$SafePath;
            3   16     3                     basename  Ljava/lang/String;
            4   16     4                         name  Ljava/lang/String;
            5   16     5                            i  I
           15   16     6      canonicalRepositoryPath  Ljdk/jfr/internal/SecuritySupport$SafePath;
    Exceptions:
      throws java.lang.Exception
    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 118
            aload 0 /* safePath */
            invokestatic jdk.jfr.internal.SecuritySupport.exists:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
            ifeq 4
         1: .line 119
            aload 0 /* safePath */
            invokestatic jdk.jfr.internal.SecuritySupport.isWritable:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
            ifne 3
         2: .line 120
            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 122
      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 124
      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 125
            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.lang.Exception
    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 129
            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 130
            aload 1 /* parent */
            ifnonnull 3
         2: .line 131
            iconst_0
            ireturn
         3: .line 135
      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 136
            goto 6
      StackMap locals:
      StackMap stack: java.lang.Exception
         5: pop
         6: .line 139
      StackMap locals:
      StackMap stack:
            aload 0 /* path */
            invokestatic jdk.jfr.internal.SecuritySupport.exists:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
            ifne 8
         7: .line 140
            iconst_0
            ireturn
         8: .line 142
      StackMap locals:
      StackMap stack:
            aload 0 /* path */
            invokestatic jdk.jfr.internal.SecuritySupport.isDirectory:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
            ifne 10
         9: .line 143
            iconst_0
            ireturn
        10: .line 145
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        11: .line 146
      StackMap locals:
      StackMap stack: java.io.IOException
            pop
        12: .line 147
            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 152
            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 154
            aload 1 /* p */
            invokestatic jdk.jfr.internal.SecuritySupport.clearDirectory:(Ljdk/jfr/internal/SecuritySupport$SafePath;)V
         3: .line 155
            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 156
            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 157
            getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.ERROR: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 152
      StackMap locals: jdk.jfr.internal.Repository top java.util.Iterator
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         8: .line 160
            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 163
            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;
}
SourceFile: "Repository.java"
InnerClasses:
  public final SafePath = jdk.jfr.internal.SecuritySupport$SafePath of jdk.jfr.internal.SecuritySupport