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: invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
putstatic jdk.jfr.internal.Repository.jvm:Ljdk/jfr/internal/JVM;
1: new jdk.jfr.internal.Repository
dup
invokespecial jdk.jfr.internal.Repository.<init>:()V
putstatic jdk.jfr.internal.Repository.instance:Ljdk/jfr/internal/Repository;
2: 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 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield jdk.jfr.internal.Repository.cleanupDirectories:Ljava/util/Set;
2: return
end local 0 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: 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 start local 1 0: aload 1
aload 0
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: 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
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: return
3: StackMap locals:
StackMap stack:
aload 0
aload 1
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: aload 0
aconst_null
putfield jdk.jfr.internal.Repository.chunkFilename:Ljdk/jfr/internal/management/ChunkFilename;
5: aload 0
getfield jdk.jfr.internal.Repository.repository:Ljdk/jfr/internal/SecuritySupport$SafePath;
invokestatic jdk.jfr.internal.SecuritySupport.delete:(Ljdk/jfr/internal/SecuritySupport$SafePath;)V
6: goto 9
StackMap locals:
StackMap stack: java.io.IOException
7: pop
8: 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
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: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jdk.jfr.internal.Repository.baseLocation:Ljdk/jfr/internal/SecuritySupport$SafePath;
10: return
end local 1 end local 0 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 0: aload 0
getfield jdk.jfr.internal.Repository.baseLocation:Ljdk/jfr/internal/SecuritySupport$SafePath;
ifnonnull 2
1: aload 0
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: StackMap locals:
StackMap stack:
return
end local 0 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 start local 1 0: aload 0
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: aload 0
aload 0
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: getstatic jdk.jfr.internal.Repository.jvm:Ljdk/jfr/internal/JVM;
aload 0
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: ldc "jdk.jfr.repository"
aload 0
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: aload 0
getfield jdk.jfr.internal.Repository.cleanupDirectories:Ljava/util/Set;
aload 0
getfield jdk.jfr.internal.Repository.repository:Ljdk/jfr/internal/SecuritySupport$SafePath;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: aload 0
aconst_null
putfield jdk.jfr.internal.Repository.chunkFilename:Ljdk/jfr/internal/management/ChunkFilename;
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.Repository.chunkFilename:Ljdk/jfr/internal/management/ChunkFilename;
ifnonnull 8
7: aload 0
aload 0
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: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.Repository.chunkFilename:Ljdk/jfr/internal/management/ChunkFilename;
aload 1
invokevirtual java.time.ZonedDateTime.toLocalDateTime:()Ljava/time/LocalDateTime;
invokevirtual jdk.jfr.internal.management.ChunkFilename.next:(Ljava/time/LocalDateTime;)Ljava/lang/String;
astore 2
start local 2 9: new jdk.jfr.internal.RepositoryChunk
dup
new jdk.jfr.internal.SecuritySupport$SafePath
dup
aload 2
invokespecial jdk.jfr.internal.SecuritySupport$SafePath.<init>:(Ljava/lang/String;)V
aload 1
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 11: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 12: ldc "Could not create chunk in repository %s, %s: %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.jfr.internal.Repository.repository:Ljdk/jfr/internal/SecuritySupport$SafePath;
aastore
dup
iconst_1
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aastore
dup
iconst_2
aload 2
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
start local 3 13: getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.ERROR:Ljdk/jfr/internal/LogLevel;
aload 3
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
14: getstatic jdk.jfr.internal.Repository.jvm:Ljdk/jfr/internal/JVM;
aload 3
invokevirtual jdk.jfr.internal.JVM.abort:(Ljava/lang/String;)V
15: 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 end local 2 end local 1 end local 0 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 0: aload 0
invokestatic jdk.jfr.internal.Repository.createRealBasePath:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Ljdk/jfr/internal/SecuritySupport$SafePath;
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: 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
start local 3 3: aload 3
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 11
6: 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
invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.toPath:()Ljava/nio/file/Path;
aload 4
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
7: aload 2
invokestatic jdk.jfr.internal.Repository.tryToUseAsRepository:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
ifeq 9
8: goto 12
9: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 3
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
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
10: iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
sipush 1000
if_icmplt 6
12: StackMap locals:
StackMap stack:
iload 5
sipush 1000
if_icmpne 14
13: 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
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: StackMap locals:
StackMap stack:
aload 2
invokestatic jdk.jfr.internal.SecuritySupport.toRealPath:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Ljdk/jfr/internal/SecuritySupport$SafePath;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 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 0: aload 0
invokestatic jdk.jfr.internal.SecuritySupport.exists:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
ifeq 4
1: aload 0
invokestatic jdk.jfr.internal.SecuritySupport.isWritable:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
ifne 3
2: 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
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: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.jfr.internal.SecuritySupport.toRealPath:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Ljdk/jfr/internal/SecuritySupport$SafePath;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.jfr.internal.SecuritySupport.createDirectories:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Ljdk/jfr/internal/SecuritySupport$SafePath;
astore 1
start local 1 5: aload 1
invokestatic jdk.jfr.internal.SecuritySupport.toRealPath:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Ljdk/jfr/internal/SecuritySupport$SafePath;
areturn
end local 1 end local 0 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 0: aload 0
invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.toPath:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.nio.file.Path
StackMap stack:
aload 0
invokestatic jdk.jfr.internal.SecuritySupport.createDirectories:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Ljdk/jfr/internal/SecuritySupport$SafePath;
pop
4: goto 6
StackMap locals:
StackMap stack: java.lang.Exception
5: pop
6: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.jfr.internal.SecuritySupport.exists:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
ifne 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.jfr.internal.SecuritySupport.isDirectory:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Z
ifne 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iconst_1
ireturn
11: StackMap locals:
StackMap stack: java.io.IOException
pop
12: iconst_0
ireturn
end local 1 end local 0 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 0: aload 0
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
start local 1 2: aload 1
invokestatic jdk.jfr.internal.SecuritySupport.clearDirectory:(Ljdk/jfr/internal/SecuritySupport$SafePath;)V
3: 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
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: goto 7
StackMap locals: jdk.jfr.internal.Repository jdk.jfr.internal.SecuritySupport$SafePath java.util.Iterator
StackMap stack: java.io.IOException
5: astore 3
start local 3 6: 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
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
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 end local 1 7: StackMap locals: jdk.jfr.internal.Repository top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
8: return
end local 0 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 0: aload 0
getfield jdk.jfr.internal.Repository.repository:Ljdk/jfr/internal/SecuritySupport$SafePath;
areturn
end local 0 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 0: aload 0
getfield jdk.jfr.internal.Repository.baseLocation:Ljdk/jfr/internal/SecuritySupport$SafePath;
areturn
end local 0 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