class jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite extends jdk.nashorn.internal.runtime.linker.LinkerCallSite
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite
super_class: jdk.nashorn.internal.runtime.linker.LinkerCallSite
{
private static java.util.LinkedList<jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite> profileCallSites;
descriptor: Ljava/util/LinkedList;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/LinkedList<Ljdk/nashorn/internal/runtime/linker/LinkerCallSite$ProfilingLinkerCallSite;>;
private long startTime;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private int depth;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private long totalTime;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long hitCount;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private static final java.lang.invoke.MethodHandles$Lookup LOOKUP;
descriptor: Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle PROFILEENTRY;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle PROFILEEXIT;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle PROFILEVOIDEXIT;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=10, locals=0, args_size=0
0: aconst_null
putstatic jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.profileCallSites:Ljava/util/LinkedList;
1: invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
putstatic jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
2: getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
ldc Ljdk/nashorn/internal/runtime/linker/LinkerCallSite$ProfilingLinkerCallSite;
ldc "profileEntry"
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
ldc Ljava/lang/Object;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.type:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.findVirtual:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.PROFILEENTRY:Ljava/lang/invoke/MethodHandle;
3: getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
ldc Ljdk/nashorn/internal/runtime/linker/LinkerCallSite$ProfilingLinkerCallSite;
ldc "profileExit"
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
ldc Ljava/lang/Object;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.type:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.findVirtual:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.PROFILEEXIT:Ljava/lang/invoke/MethodHandle;
4: getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
ldc Ljdk/nashorn/internal/runtime/linker/LinkerCallSite$ProfilingLinkerCallSite;
ldc "profileVoidExit"
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
iconst_0
anewarray java.lang.Class
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.type:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.findVirtual:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.PROFILEVOIDEXIT:Ljava/lang/invoke/MethodHandle;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor);
descriptor: (Ljdk/nashorn/internal/runtime/linker/NashornCallSiteDescriptor;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial jdk.nashorn.internal.runtime.linker.LinkerCallSite.<init>:(Ljdk/nashorn/internal/runtime/linker/NashornCallSiteDescriptor;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/linker/LinkerCallSite$ProfilingLinkerCallSite;
0 2 1 desc Ljdk/nashorn/internal/runtime/linker/NashornCallSiteDescriptor;
MethodParameters:
Name Flags
desc final
public static jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite newProfilingLinkerCallSite(jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor);
descriptor: (Ljdk/nashorn/internal/runtime/linker/NashornCallSiteDescriptor;)Ljdk/nashorn/internal/runtime/linker/LinkerCallSite$ProfilingLinkerCallSite;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.profileCallSites:Ljava/util/LinkedList;
ifnonnull 4
1: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putstatic jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.profileCallSites:Ljava/util/LinkedList;
2: new java.lang.Thread
dup
new jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite$ProfileDumper
dup
invokespecial jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite$ProfileDumper.<init>:()V
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
astore 1
start local 1 3: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
aload 1
invokevirtual java.lang.Runtime.addShutdownHook:(Ljava/lang/Thread;)V
end local 1 4: StackMap locals:
StackMap stack:
new jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite
dup
aload 0
invokespecial jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.<init>:(Ljdk/nashorn/internal/runtime/linker/NashornCallSiteDescriptor;)V
astore 1
start local 1 5: getstatic jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.profileCallSites:Ljava/util/LinkedList;
aload 1
invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
pop
6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 desc Ljdk/nashorn/internal/runtime/linker/NashornCallSiteDescriptor;
3 4 1 profileDumperThread Ljava/lang/Thread;
5 7 1 callSite Ljdk/nashorn/internal/runtime/linker/LinkerCallSite$ProfilingLinkerCallSite;
MethodParameters:
Name Flags
desc final
public void setTarget(java.lang.invoke.MethodHandle);
descriptor: (Ljava/lang/invoke/MethodHandle;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.type:()Ljava/lang/invoke/MethodType;
astore 2
start local 2 1: aload 2
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpne 2
iconst_1
goto 3
StackMap locals: java.lang.invoke.MethodType
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 3
start local 3 4: aload 1
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
iconst_0
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
astore 4
start local 4 5: getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.PROFILEENTRY:Ljava/lang/invoke/MethodHandle;
aload 0
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.bindTo:(Ljava/lang/invoke/MethodHandle;Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
astore 5
start local 5 6: aload 4
ldc Ljava/lang/Object;
if_acmpeq 9
7: aload 4
aload 4
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
astore 6
start local 6 8: aload 5
aload 6
invokevirtual java.lang.invoke.MethodHandle.asType:(Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
astore 5
end local 6 9: StackMap locals: int java.lang.Class java.lang.invoke.MethodHandle
StackMap stack:
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 1
iconst_0
iconst_1
anewarray java.lang.invoke.MethodHandle
dup
iconst_0
aload 5
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.filterArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 6
start local 6 10: iload 3
ifeq 13
11: getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 6
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.PROFILEVOIDEXIT:Ljava/lang/invoke/MethodHandle;
aload 0
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.bindTo:(Ljava/lang/invoke/MethodHandle;Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.filterReturnValue:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 6
12: goto 15
13: StackMap locals: java.lang.invoke.MethodHandle
StackMap stack:
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 2
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
iconst_1
anewarray java.lang.Class
dup
iconst_0
aload 2
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.type:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
astore 7
start local 7 14: getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 6
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.PROFILEEXIT:Ljava/lang/invoke/MethodHandle;
aload 0
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.bindTo:(Ljava/lang/invoke/MethodHandle;Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
aload 7
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.asType:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.filterReturnValue:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 6
end local 7 15: StackMap locals:
StackMap stack:
aload 0
aload 6
invokespecial jdk.nashorn.internal.runtime.linker.LinkerCallSite.setTarget:(Ljava/lang/invoke/MethodHandle;)V
16: return
end local 6 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 17 0 this Ljdk/nashorn/internal/runtime/linker/LinkerCallSite$ProfilingLinkerCallSite;
0 17 1 newTarget Ljava/lang/invoke/MethodHandle;
1 17 2 type Ljava/lang/invoke/MethodType;
4 17 3 isVoid Z
5 17 4 newSelfType Ljava/lang/Class<*>;
6 17 5 selfFilter Ljava/lang/invoke/MethodHandle;
8 9 6 selfFilterType Ljava/lang/invoke/MethodType;
10 17 6 methodHandle Ljava/lang/invoke/MethodHandle;
14 15 7 filter Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
newTarget final
public java.lang.Object profileEntry(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.depth:I
ifne 2
1: aload 0
invokestatic java.lang.System.nanoTime:()J
putfield jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.startTime:J
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.depth:I
iconst_1
iadd
putfield jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.depth:I
3: aload 0
dup
getfield jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.hitCount:J
lconst_1
ladd
putfield jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.hitCount:J
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/runtime/linker/LinkerCallSite$ProfilingLinkerCallSite;
0 5 1 self Ljava/lang/Object;
MethodParameters:
Name Flags
self final
public java.lang.Object profileExit(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.depth:I
iconst_1
isub
putfield jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.depth:I
1: aload 0
getfield jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.depth:I
ifne 3
2: aload 0
dup
getfield jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.totalTime:J
invokestatic java.lang.System.nanoTime:()J
aload 0
getfield jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.startTime:J
lsub
ladd
putfield jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.totalTime:J
3: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/runtime/linker/LinkerCallSite$ProfilingLinkerCallSite;
0 4 1 result Ljava/lang/Object;
MethodParameters:
Name Flags
result final
public void profileVoidExit();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.depth:I
iconst_1
isub
putfield jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.depth:I
1: aload 0
getfield jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.depth:I
ifne 3
2: aload 0
dup
getfield jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.totalTime:J
invokestatic java.lang.System.nanoTime:()J
aload 0
getfield jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.startTime:J
lsub
ladd
putfield jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite.totalTime:J
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/runtime/linker/LinkerCallSite$ProfilingLinkerCallSite;
}
SourceFile: "LinkerCallSite.java"
NestHost: jdk.nashorn.internal.runtime.linker.LinkerCallSite
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private ProfilingLinkerCallSite = jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite of jdk.nashorn.internal.runtime.linker.LinkerCallSite
ProfileDumper = jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite$ProfileDumper of jdk.nashorn.internal.runtime.linker.LinkerCallSite$ProfilingLinkerCallSite