public class org.graalvm.compiler.options.UniquePathUtilities
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.options.UniquePathUtilities
super_class: java.lang.Object
{
private static final java.util.concurrent.atomic.AtomicLong globalTimeStamp;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.ThreadLocal<java.lang.Integer> threadDumpId;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Ljava/lang/Integer;>;
private static final java.util.concurrent.atomic.AtomicInteger dumpId;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putstatic org.graalvm.compiler.options.UniquePathUtilities.globalTimeStamp:Ljava/util/concurrent/atomic/AtomicLong;
1: new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putstatic org.graalvm.compiler.options.UniquePathUtilities.threadDumpId:Ljava/lang/ThreadLocal;
2: new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
putstatic org.graalvm.compiler.options.UniquePathUtilities.dumpId:Ljava/util/concurrent/atomic/AtomicInteger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/options/UniquePathUtilities;
private static int getThreadDumpId();
descriptor: ()I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic org.graalvm.compiler.options.UniquePathUtilities.threadDumpId:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.lang.Integer
astore 0
start local 0 1: aload 0
ifnonnull 4
2: getstatic org.graalvm.compiler.options.UniquePathUtilities.dumpId:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 0
3: getstatic org.graalvm.compiler.options.UniquePathUtilities.threadDumpId:Ljava/lang/ThreadLocal;
aload 0
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
4: StackMap locals: java.lang.Integer
StackMap stack:
aload 0
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 5 0 id Ljava/lang/Integer;
private static java.lang.String formatExtension(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
ldc ""
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ext Ljava/lang/String;
MethodParameters:
Name Flags
ext
public static long getGlobalTimeStamp();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: getstatic org.graalvm.compiler.options.UniquePathUtilities.globalTimeStamp:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lconst_0
lcmp
ifne 2
1: getstatic org.graalvm.compiler.options.UniquePathUtilities.globalTimeStamp:Ljava/util/concurrent/atomic/AtomicLong;
lconst_0
invokestatic java.lang.System.currentTimeMillis:()J
invokevirtual java.util.concurrent.atomic.AtomicLong.compareAndSet:(JJ)Z
pop
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.options.UniquePathUtilities.globalTimeStamp:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public static java.nio.file.Path getPath(org.graalvm.compiler.options.OptionValue<java.lang.String>, org.graalvm.compiler.options.OptionValue<java.lang.String>, java.lang.String);
descriptor: (Lorg/graalvm/compiler/options/OptionValue;Lorg/graalvm/compiler/options/OptionValue;Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
invokestatic org.graalvm.compiler.options.UniquePathUtilities.getPath:(Lorg/graalvm/compiler/options/OptionValue;Lorg/graalvm/compiler/options/OptionValue;Ljava/lang/String;Z)Ljava/nio/file/Path;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 option Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;
0 1 1 defaultDirectory Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;
0 1 2 extension Ljava/lang/String;
Signature: (Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;Ljava/lang/String;)Ljava/nio/file/Path;
MethodParameters:
Name Flags
option
defaultDirectory
extension
public static java.nio.file.Path getPathGlobal(org.graalvm.compiler.options.OptionValue<java.lang.String>, org.graalvm.compiler.options.OptionValue<java.lang.String>, java.lang.String);
descriptor: (Lorg/graalvm/compiler/options/OptionValue;Lorg/graalvm/compiler/options/OptionValue;Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokestatic org.graalvm.compiler.options.UniquePathUtilities.getPath:(Lorg/graalvm/compiler/options/OptionValue;Lorg/graalvm/compiler/options/OptionValue;Ljava/lang/String;Z)Ljava/nio/file/Path;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 option Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;
0 1 1 defaultDirectory Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;
0 1 2 extension Ljava/lang/String;
Signature: (Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;Ljava/lang/String;)Ljava/nio/file/Path;
MethodParameters:
Name Flags
option
defaultDirectory
extension
private static java.nio.file.Path getPath(org.graalvm.compiler.options.OptionValue<java.lang.String>, org.graalvm.compiler.options.OptionValue<java.lang.String>, java.lang.String, boolean);
descriptor: (Lorg/graalvm/compiler/options/OptionValue;Lorg/graalvm/compiler/options/OptionValue;Ljava/lang/String;Z)Ljava/nio/file/Path;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
iload 3
ifeq 4
3: ldc "%s-%d_%d%s"
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
aastore
dup
iconst_1
invokestatic org.graalvm.compiler.options.UniquePathUtilities.getGlobalTimeStamp:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
invokestatic org.graalvm.compiler.options.UniquePathUtilities.getThreadDumpId:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
aload 2
invokestatic org.graalvm.compiler.options.UniquePathUtilities.formatExtension:(Ljava/lang/String;)Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
goto 5
4: StackMap locals:
StackMap stack:
ldc "%s-%d%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
aastore
dup
iconst_1
invokestatic org.graalvm.compiler.options.UniquePathUtilities.getGlobalTimeStamp:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
aload 2
invokestatic org.graalvm.compiler.options.UniquePathUtilities.formatExtension:(Ljava/lang/String;)Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
5: StackMap locals:
StackMap stack: java.lang.String
astore 4
start local 4 6: aload 4
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 5
start local 5 7: aload 5
invokeinterface java.nio.file.Path.isAbsolute:()Z
ifne 8
aload 1
ifnonnull 9
8: StackMap locals: java.lang.String java.nio.file.Path
StackMap stack:
aload 5
areturn
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.String
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 4
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
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 10 0 option Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;
0 10 1 defaultDirectory Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;
0 10 2 extension Ljava/lang/String;
0 10 3 includeThreadId Z
6 10 4 name Ljava/lang/String;
7 10 5 result Ljava/nio/file/Path;
Signature: (Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;Ljava/lang/String;Z)Ljava/nio/file/Path;
MethodParameters:
Name Flags
option
defaultDirectory
extension
includeThreadId
}
SourceFile: "UniquePathUtilities.java"