public final class jdk.jfr.internal.consumer.RepositoryFiles
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.consumer.RepositoryFiles
super_class: java.lang.Object
{
private static final java.lang.Object WAIT_OBJECT;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final jdk.jfr.internal.consumer.FileAccess fileAccess;
descriptor: Ljdk/jfr/internal/consumer/FileAccess;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.NavigableMap<java.lang.Long, java.nio.file.Path> pathSet;
descriptor: Ljava/util/NavigableMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/NavigableMap<Ljava/lang/Long;Ljava/nio/file/Path;>;
private final java.util.Map<java.nio.file.Path, java.lang.Long> pathLookup;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/nio/file/Path;Ljava/lang/Long;>;
private final java.nio.file.Path repository;
descriptor: Ljava/nio/file/Path;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object waitObject;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile boolean closed;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic jdk.jfr.internal.consumer.RepositoryFiles.WAIT_OBJECT:Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
public static void notifyNewFile();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic jdk.jfr.internal.consumer.RepositoryFiles.WAIT_OBJECT:Ljava/lang/Object;
dup
astore 0
monitorenter
1: getstatic jdk.jfr.internal.consumer.RepositoryFiles.WAIT_OBJECT:Ljava/lang/Object;
invokevirtual java.lang.Object.notifyAll:()V
2: aload 0
monitorexit
3: goto 6
StackMap locals: java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 0
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
1 3 4 any
4 5 4 any
public void <init>(jdk.jfr.internal.consumer.FileAccess, java.nio.file.Path);
descriptor: (Ljdk/jfr/internal/consumer/FileAccess;Ljava/nio/file/Path;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.TreeMap
dup
invokespecial java.util.TreeMap.<init>:()V
putfield jdk.jfr.internal.consumer.RepositoryFiles.pathSet:Ljava/util/NavigableMap;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.jfr.internal.consumer.RepositoryFiles.pathLookup:Ljava/util/Map;
3: aload 0
aload 2
putfield jdk.jfr.internal.consumer.RepositoryFiles.repository:Ljava/nio/file/Path;
4: aload 0
aload 1
putfield jdk.jfr.internal.consumer.RepositoryFiles.fileAccess:Ljdk/jfr/internal/consumer/FileAccess;
5: aload 0
aload 2
ifnonnull 6
getstatic jdk.jfr.internal.consumer.RepositoryFiles.WAIT_OBJECT:Ljava/lang/Object;
goto 7
StackMap locals: jdk.jfr.internal.consumer.RepositoryFiles jdk.jfr.internal.consumer.FileAccess java.nio.file.Path
StackMap stack: jdk.jfr.internal.consumer.RepositoryFiles
6: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
StackMap locals: jdk.jfr.internal.consumer.RepositoryFiles jdk.jfr.internal.consumer.FileAccess java.nio.file.Path
StackMap stack: jdk.jfr.internal.consumer.RepositoryFiles java.lang.Object
7: putfield jdk.jfr.internal.consumer.RepositoryFiles.waitObject:Ljava/lang/Object;
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/jfr/internal/consumer/RepositoryFiles;
0 9 1 fileAccess Ljdk/jfr/internal/consumer/FileAccess;
0 9 2 repository Ljava/nio/file/Path;
MethodParameters:
Name Flags
fileAccess
repository
long getTimestamp(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)J
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.pathLookup:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/consumer/RepositoryFiles;
0 1 1 p Ljava/nio/file/Path;
MethodParameters:
Name Flags
p
public java.nio.file.Path lastPath(boolean);
descriptor: (Z)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual jdk.jfr.internal.consumer.RepositoryFiles.updatePaths:(Z)Z
ifeq 2
1: aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.pathSet:Ljava/util/NavigableMap;
invokeinterface java.util.NavigableMap.lastEntry:()Ljava/util/Map$Entry;
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.nio.file.Path
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/consumer/RepositoryFiles;
0 3 1 wait Z
MethodParameters:
Name Flags
wait
public java.nio.file.Path firstPath(long, boolean);
descriptor: (JZ)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
iload 3
invokevirtual jdk.jfr.internal.consumer.RepositoryFiles.updatePaths:(Z)Z
ifeq 5
1: aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.pathSet:Ljava/util/NavigableMap;
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.NavigableMap.floorKey:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Long
astore 4
start local 4 2: aload 4
ifnull 4
3: aload 4
invokevirtual java.lang.Long.longValue:()J
lstore 1
4: StackMap locals: java.lang.Long
StackMap stack:
aload 0
lload 1
iload 3
invokevirtual jdk.jfr.internal.consumer.RepositoryFiles.path:(JZ)Ljava/nio/file/Path;
areturn
end local 4 5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/consumer/RepositoryFiles;
0 6 1 startTimeNanos J
0 6 3 wait Z
2 5 4 time Ljava/lang/Long;
MethodParameters:
Name Flags
startTimeNanos
wait
private boolean updatePaths(boolean);
descriptor: (Z)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.pathLookup:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
istore 2
start local 2 1: goto 11
2: StackMap locals: int
StackMap stack:
aload 0
invokevirtual jdk.jfr.internal.consumer.RepositoryFiles.updatePaths:()Z
ifeq 6
3: goto 12
4: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 5: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_STREAMING:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "IOException during repository file scan "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
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 6: StackMap locals:
StackMap stack:
iload 1
ifeq 9
7: aload 0
invokevirtual jdk.jfr.internal.consumer.RepositoryFiles.nap:()V
8: goto 11
9: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.pathLookup:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
iload 2
if_icmple 10
iconst_1
ireturn
StackMap locals:
StackMap stack:
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.closed:Z
ifeq 2
12: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.closed:Z
ifeq 13
iconst_0
goto 14
StackMap locals:
StackMap stack:
13: iconst_1
StackMap locals:
StackMap stack: int
14: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/jfr/internal/consumer/RepositoryFiles;
0 15 1 wait Z
1 15 2 beforeSize I
5 6 3 e Ljava/io/IOException;
Exception table:
from to target type
2 3 4 Class java.io.IOException
MethodParameters:
Name Flags
wait
public java.nio.file.Path nextPath(long, boolean);
descriptor: (JZ)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.closed:Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.pathSet:Ljava/util/NavigableMap;
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.NavigableMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.nio.file.Path
astore 4
start local 4 3: aload 4
ifnull 5
4: aload 4
areturn
5: StackMap locals: java.nio.file.Path
StackMap stack:
aload 0
invokevirtual jdk.jfr.internal.consumer.RepositoryFiles.updatePaths:()Z
pop
6: goto 8
StackMap locals:
StackMap stack: java.io.IOException
7: pop
8: StackMap locals:
StackMap stack:
aload 0
lload 1
iload 3
invokevirtual jdk.jfr.internal.consumer.RepositoryFiles.path:(JZ)Ljava/nio/file/Path;
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/jfr/internal/consumer/RepositoryFiles;
0 9 1 startTimeNanos J
0 9 3 wait Z
3 9 4 path Ljava/nio/file/Path;
Exception table:
from to target type
5 6 7 Class java.io.IOException
MethodParameters:
Name Flags
startTimeNanos
wait
private java.nio.file.Path path(long, boolean);
descriptor: (JZ)Ljava/nio/file/Path;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.closed:Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.pathSet:Ljava/util/NavigableMap;
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.NavigableMap.tailMap:(Ljava/lang/Object;)Ljava/util/SortedMap;
astore 4
start local 4 3: aload 4
invokeinterface java.util.SortedMap.isEmpty:()Z
ifne 8
4: aload 4
aload 4
invokeinterface java.util.SortedMap.firstKey:()Ljava/lang/Object;
invokeinterface java.util.SortedMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.nio.file.Path
astore 5
start local 5 5: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_STREAMING:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.TRACE:Ljdk/jfr/internal/LogLevel;
invokestatic jdk.jfr.internal.Logger.shouldLog:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;)Z
ifeq 7
6: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_STREAMING:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.TRACE:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "Return path "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " for start time nanos "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 1
invokevirtual java.lang.StringBuilder.append:(J)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
7: StackMap locals: java.util.SortedMap java.nio.file.Path
StackMap stack:
aload 5
areturn
end local 5 8: StackMap locals:
StackMap stack:
aload 0
iload 3
invokevirtual jdk.jfr.internal.consumer.RepositoryFiles.updatePaths:(Z)Z
ifne 2
9: aconst_null
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/jfr/internal/consumer/RepositoryFiles;
0 10 1 timestamp J
0 10 3 wait Z
3 10 4 after Ljava/util/SortedMap<Ljava/lang/Long;Ljava/nio/file/Path;>;
5 8 5 path Ljava/nio/file/Path;
MethodParameters:
Name Flags
timestamp
wait
private void nap();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.waitObject:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.waitObject:Ljava/lang/Object;
ldc 1000
invokevirtual java.lang.Object.wait:(J)V
2: aload 1
monitorexit
3: goto 7
StackMap locals: jdk.jfr.internal.consumer.RepositoryFiles java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 1
monitorexit
5: athrow
6: StackMap locals: jdk.jfr.internal.consumer.RepositoryFiles
StackMap stack: java.lang.InterruptedException
pop
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/jfr/internal/consumer/RepositoryFiles;
Exception table:
from to target type
1 3 4 any
4 5 4 any
0 6 6 Class java.lang.InterruptedException
private boolean updatePaths();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=15, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.repository:Ljava/nio/file/Path;
astore 2
start local 2 2: aload 2
ifnonnull 7
3: invokestatic jdk.jfr.internal.Repository.getRepository:()Ljdk/jfr/internal/Repository;
invokevirtual jdk.jfr.internal.Repository.getRepositoryPath:()Ljdk/jfr/internal/SecuritySupport$SafePath;
astore 3
start local 3 4: aload 3
ifnonnull 6
5: iconst_0
ireturn
6: StackMap locals: int java.nio.file.Path jdk.jfr.internal.SecuritySupport$SafePath
StackMap stack:
aload 3
invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.toPath:()Ljava/nio/file/Path;
astore 2
end local 3 7: StackMap locals:
StackMap stack:
aconst_null
astore 3
aconst_null
astore 4
8: aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.fileAccess:Ljdk/jfr/internal/consumer/FileAccess;
aload 2
invokevirtual jdk.jfr.internal.consumer.FileAccess.newDirectoryStream:(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
astore 5
start local 5 9: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 10: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 7
start local 7 11: aload 5
invokeinterface java.nio.file.DirectoryStream.iterator:()Ljava/util/Iterator;
astore 9
goto 19
StackMap locals: jdk.jfr.internal.consumer.RepositoryFiles int java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.util.List java.util.Set top java.util.Iterator
StackMap stack:
12: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 8
start local 8 13: aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.pathLookup:Ljava/util/Map;
aload 8
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 19
14: aload 8
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 10
start local 10 15: aload 10
ldc ".jfr"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 18
16: aload 6
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
17: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_STREAMING:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "New file found: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
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
18: StackMap locals: jdk.jfr.internal.consumer.RepositoryFiles int java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.util.List java.util.Set java.nio.file.Path java.util.Iterator java.lang.String
StackMap stack:
aload 7
aload 8
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 10 end local 8 19: StackMap locals: jdk.jfr.internal.consumer.RepositoryFiles int java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.util.List java.util.Set top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
20: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 8
start local 8 21: aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.pathLookup:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 10
goto 25
StackMap locals: jdk.jfr.internal.consumer.RepositoryFiles int java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.util.List java.util.Set java.util.List top java.util.Iterator
StackMap stack:
22: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 9
start local 9 23: aload 7
aload 9
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 25
24: aload 8
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 25: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 22
26: aload 8
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 31
StackMap locals:
StackMap stack:
27: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 9
start local 9 28: aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.pathLookup:Ljava/util/Map;
aload 9
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Long
astore 11
start local 11 29: aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.pathSet:Ljava/util/NavigableMap;
aload 11
invokeinterface java.util.NavigableMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
30: aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.pathLookup:Ljava/util/Map;
aload 9
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 11 end local 9 31: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 27
32: aload 6
invokedynamic compare()Ljava/util/Comparator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)I
jdk/jfr/internal/consumer/RepositoryFiles.lambda$0(Ljava/nio/file/Path;Ljava/nio/file/Path;)I (6)
(Ljava/nio/file/Path;Ljava/nio/file/Path;)I
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
33: aload 6
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 41
StackMap locals:
StackMap stack:
34: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 9
start local 9 35: aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.fileAccess:Ljdk/jfr/internal/consumer/FileAccess;
aload 9
invokevirtual jdk.jfr.internal.consumer.FileAccess.fileSize:(Ljava/nio/file/Path;)J
lstore 11
start local 11 36: lload 11
invokestatic jdk.jfr.internal.consumer.ChunkHeader.headerSize:()J
lcmp
iflt 41
37: aload 0
aload 9
invokevirtual jdk.jfr.internal.consumer.RepositoryFiles.readStartTime:(Ljava/nio/file/Path;)J
lstore 13
start local 13 38: aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.pathSet:Ljava/util/NavigableMap;
lload 13
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aload 9
invokeinterface java.util.NavigableMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
39: aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.pathLookup:Ljava/util/Map;
aload 9
lload 13
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
40: iconst_1
istore 1
end local 13 end local 11 end local 9 41: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 34
42: iload 1
43: aload 5
ifnull 44
aload 5
invokeinterface java.nio.file.DirectoryStream.close:()V
44: StackMap locals: jdk.jfr.internal.consumer.RepositoryFiles int java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.util.List java.util.Set java.util.List
StackMap stack: int
ireturn
end local 8 end local 7 end local 6 StackMap locals: jdk.jfr.internal.consumer.RepositoryFiles int java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream
StackMap stack: java.lang.Throwable
45: astore 3
46: aload 5
ifnull 47
aload 5
invokeinterface java.nio.file.DirectoryStream.close:()V
end local 5 StackMap locals:
StackMap stack:
47: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
48: astore 4
aload 3
ifnonnull 49
aload 4
astore 3
goto 50
StackMap locals:
StackMap stack:
49: aload 3
aload 4
if_acmpeq 50
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
50: aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 this Ljdk/jfr/internal/consumer/RepositoryFiles;
1 51 1 foundNew Z
2 51 2 repoPath Ljava/nio/file/Path;
4 7 3 sf Ljdk/jfr/internal/SecuritySupport$SafePath;
9 47 5 dirStream Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
10 45 6 added Ljava/util/List<Ljava/nio/file/Path;>;
11 45 7 current Ljava/util/Set<Ljava/nio/file/Path;>;
13 19 8 p Ljava/nio/file/Path;
15 19 10 s Ljava/lang/String;
21 45 8 removed Ljava/util/List<Ljava/nio/file/Path;>;
23 25 9 p Ljava/nio/file/Path;
28 31 9 remove Ljava/nio/file/Path;
29 31 11 time Ljava/lang/Long;
35 41 9 p Ljava/nio/file/Path;
36 41 11 size J
38 41 13 startNanos J
Exception table:
from to target type
9 43 45 any
8 44 48 any
45 48 48 any
Exceptions:
throws java.io.IOException
private long readStartTime(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: new jdk.jfr.internal.consumer.RecordingInput
dup
aload 1
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.fileAccess:Ljdk/jfr/internal/consumer/FileAccess;
bipush 100
invokespecial jdk.jfr.internal.consumer.RecordingInput.<init>:(Ljava/io/File;Ljdk/jfr/internal/consumer/FileAccess;I)V
astore 4
start local 4 2: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_PARSER:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
ldc "Parsing header for chunk start time"
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
3: new jdk.jfr.internal.consumer.ChunkHeader
dup
aload 4
invokespecial jdk.jfr.internal.consumer.ChunkHeader.<init>:(Ljdk/jfr/internal/consumer/RecordingInput;)V
astore 5
start local 5 4: aload 5
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getStartNanos:()J
5: aload 4
ifnull 6
aload 4
invokevirtual jdk.jfr.internal.consumer.RecordingInput.close:()V
6: StackMap locals: jdk.jfr.internal.consumer.RepositoryFiles java.nio.file.Path java.lang.Throwable java.lang.Throwable jdk.jfr.internal.consumer.RecordingInput jdk.jfr.internal.consumer.ChunkHeader
StackMap stack: long
lreturn
end local 5 StackMap locals: jdk.jfr.internal.consumer.RepositoryFiles java.nio.file.Path java.lang.Throwable java.lang.Throwable jdk.jfr.internal.consumer.RecordingInput
StackMap stack: java.lang.Throwable
7: astore 2
8: aload 4
ifnull 9
aload 4
invokevirtual jdk.jfr.internal.consumer.RecordingInput.close:()V
end local 4 StackMap locals:
StackMap stack:
9: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 3
aload 2
ifnonnull 11
aload 3
astore 2
goto 12
StackMap locals:
StackMap stack:
11: aload 2
aload 3
if_acmpeq 12
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/jfr/internal/consumer/RepositoryFiles;
0 13 1 p Ljava/nio/file/Path;
2 9 4 in Ljdk/jfr/internal/consumer/RecordingInput;
4 7 5 c Ljdk/jfr/internal/consumer/ChunkHeader;
Exception table:
from to target type
2 5 7 any
1 6 10 any
7 10 10 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
p
void close();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.waitObject:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
iconst_1
putfield jdk.jfr.internal.consumer.RepositoryFiles.closed:Z
2: aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.waitObject:Ljava/lang/Object;
invokevirtual java.lang.Object.notify:()V
3: aload 1
monitorexit
4: goto 7
StackMap locals: jdk.jfr.internal.consumer.RepositoryFiles java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 1
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/jfr/internal/consumer/RepositoryFiles;
Exception table:
from to target type
1 4 5 any
5 6 5 any
public boolean hasFixedPath();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.RepositoryFiles.repository:Ljava/nio/file/Path;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/consumer/RepositoryFiles;
private static int lambda$0(java.nio.file.Path, java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/Path;)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface java.nio.file.Path.compareTo:(Ljava/nio/file/Path;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 p1 Ljava/nio/file/Path;
0 1 1 p2 Ljava/nio/file/Path;
}
SourceFile: "RepositoryFiles.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
public final SafePath = jdk.jfr.internal.SecuritySupport$SafePath of jdk.jfr.internal.SecuritySupport