public class jdk.nashorn.internal.runtime.PropertySwitchPoints
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.nashorn.internal.runtime.PropertySwitchPoints
super_class: java.lang.Object
{
private final java.util.Map<java.lang.Object, jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet> switchPointMap;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Object;Ljdk/nashorn/internal/runtime/PropertySwitchPoints$WeakSwitchPointSet;>;
private static final java.lang.invoke.SwitchPoint[] EMPTY_SWITCHPOINT_ARRAY;
descriptor: [Ljava/lang/invoke/SwitchPoint;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static java.util.concurrent.atomic.LongAdder switchPointsAdded;
descriptor: Ljava/util/concurrent/atomic/LongAdder;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.util.concurrent.atomic.LongAdder switchPointsInvalidated;
descriptor: Ljava/util/concurrent/atomic/LongAdder;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: iconst_0
anewarray java.lang.invoke.SwitchPoint
putstatic jdk.nashorn.internal.runtime.PropertySwitchPoints.EMPTY_SWITCHPOINT_ARRAY:[Ljava/lang/invoke/SwitchPoint;
1: getstatic jdk.nashorn.internal.runtime.Context.DEBUG:Z
ifeq 4
2: new java.util.concurrent.atomic.LongAdder
dup
invokespecial java.util.concurrent.atomic.LongAdder.<init>:()V
putstatic jdk.nashorn.internal.runtime.PropertySwitchPoints.switchPointsAdded:Ljava/util/concurrent/atomic/LongAdder;
3: new java.util.concurrent.atomic.LongAdder
dup
invokespecial java.util.concurrent.atomic.LongAdder.<init>:()V
putstatic jdk.nashorn.internal.runtime.PropertySwitchPoints.switchPointsInvalidated:Ljava/util/concurrent/atomic/LongAdder;
4: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(jdk.nashorn.internal.runtime.PropertySwitchPoints);
descriptor: (Ljdk/nashorn/internal/runtime/PropertySwitchPoints;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.nashorn.internal.runtime.PropertySwitchPoints.switchPointMap:Ljava/util/Map;
2: aload 1
ifnull 12
3: aload 1
dup
astore 2
monitorenter
4: aload 1
getfield jdk.nashorn.internal.runtime.PropertySwitchPoints.switchPointMap:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: jdk.nashorn.internal.runtime.PropertySwitchPoints jdk.nashorn.internal.runtime.PropertySwitchPoints jdk.nashorn.internal.runtime.PropertySwitchPoints top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 6: aload 0
getfield jdk.nashorn.internal.runtime.PropertySwitchPoints.switchPointMap:Ljava/util/Map;
aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
new jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet
dup
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet
invokespecial jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet.<init>:(Ljdk/nashorn/internal/runtime/PropertySwitchPoints$WeakSwitchPointSet;)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 2
monitorexit
9: goto 12
StackMap locals: jdk.nashorn.internal.runtime.PropertySwitchPoints jdk.nashorn.internal.runtime.PropertySwitchPoints jdk.nashorn.internal.runtime.PropertySwitchPoints
StackMap stack: java.lang.Throwable
10: aload 2
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/nashorn/internal/runtime/PropertySwitchPoints;
0 13 1 switchPoints Ljdk/nashorn/internal/runtime/PropertySwitchPoints;
6 7 3 entry Ljava/util/Map$Entry<Ljava/lang/Object;Ljdk/nashorn/internal/runtime/PropertySwitchPoints$WeakSwitchPointSet;>;
Exception table:
from to target type
4 9 10 any
10 11 10 any
MethodParameters:
Name Flags
switchPoints final
public static long getSwitchPointsAdded();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic jdk.nashorn.internal.runtime.PropertySwitchPoints.switchPointsAdded:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.longValue:()J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public static long getSwitchPointsInvalidated();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic jdk.nashorn.internal.runtime.PropertySwitchPoints.switchPointsInvalidated:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.longValue:()J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public static int getSwitchPointCount(jdk.nashorn.internal.runtime.ScriptObject);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.getMap:()Ljdk/nashorn/internal/runtime/PropertyMap;
invokevirtual jdk.nashorn.internal.runtime.PropertyMap.getSwitchPointCount:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Ljdk/nashorn/internal/runtime/ScriptObject;
MethodParameters:
Name Flags
obj final
int getSwitchPointCount();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.PropertySwitchPoints.switchPointMap:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/PropertySwitchPoints;
static jdk.nashorn.internal.runtime.PropertySwitchPoints addSwitchPoint(jdk.nashorn.internal.runtime.PropertySwitchPoints, java.lang.String, java.lang.invoke.SwitchPoint);
descriptor: (Ljdk/nashorn/internal/runtime/PropertySwitchPoints;Ljava/lang/String;Ljava/lang/invoke/SwitchPoint;)Ljdk/nashorn/internal/runtime/PropertySwitchPoints;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnull 1
aload 0
aload 1
aload 2
invokevirtual jdk.nashorn.internal.runtime.PropertySwitchPoints.contains:(Ljava/lang/String;Ljava/lang/invoke/SwitchPoint;)Z
ifne 4
1: StackMap locals:
StackMap stack:
new jdk.nashorn.internal.runtime.PropertySwitchPoints
dup
aload 0
invokespecial jdk.nashorn.internal.runtime.PropertySwitchPoints.<init>:(Ljdk/nashorn/internal/runtime/PropertySwitchPoints;)V
astore 3
start local 3 2: aload 3
aload 1
aload 2
invokevirtual jdk.nashorn.internal.runtime.PropertySwitchPoints.add:(Ljava/lang/String;Ljava/lang/invoke/SwitchPoint;)V
3: aload 3
areturn
end local 3 4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 oldSwitchPoints Ljdk/nashorn/internal/runtime/PropertySwitchPoints;
0 5 1 key Ljava/lang/String;
0 5 2 switchPoint Ljava/lang/invoke/SwitchPoint;
2 4 3 newSwitchPoints Ljdk/nashorn/internal/runtime/PropertySwitchPoints;
MethodParameters:
Name Flags
oldSwitchPoints final
key final
switchPoint final
private synchronized boolean contains(java.lang.String, java.lang.invoke.SwitchPoint);
descriptor: (Ljava/lang/String;Ljava/lang/invoke/SwitchPoint;)Z
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.nashorn.internal.runtime.PropertySwitchPoints.switchPointMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet
astore 3
start local 3 1: aload 3
ifnull 2
aload 3
aload 2
invokevirtual jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet.contains:(Ljava/lang/invoke/SwitchPoint;)Z
ifeq 2
iconst_1
ireturn
StackMap locals: jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet
StackMap stack:
2: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/PropertySwitchPoints;
0 3 1 key Ljava/lang/String;
0 3 2 switchPoint Ljava/lang/invoke/SwitchPoint;
1 3 3 set Ljdk/nashorn/internal/runtime/PropertySwitchPoints$WeakSwitchPointSet;
MethodParameters:
Name Flags
key final
switchPoint final
private synchronized void add(java.lang.String, java.lang.invoke.SwitchPoint);
descriptor: (Ljava/lang/String;Ljava/lang/invoke/SwitchPoint;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic jdk.nashorn.internal.runtime.Context.DEBUG:Z
ifeq 2
1: getstatic jdk.nashorn.internal.runtime.PropertySwitchPoints.switchPointsAdded:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.increment:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.PropertySwitchPoints.switchPointMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet
astore 3
start local 3 3: aload 3
ifnonnull 6
4: new jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet
dup
invokespecial jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet.<init>:()V
astore 3
5: aload 0
getfield jdk.nashorn.internal.runtime.PropertySwitchPoints.switchPointMap:Ljava/util/Map;
aload 1
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals: jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet
StackMap stack:
aload 3
aload 2
invokevirtual jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet.add:(Ljava/lang/invoke/SwitchPoint;)V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/nashorn/internal/runtime/PropertySwitchPoints;
0 8 1 key Ljava/lang/String;
0 8 2 switchPoint Ljava/lang/invoke/SwitchPoint;
3 8 3 set Ljdk/nashorn/internal/runtime/PropertySwitchPoints$WeakSwitchPointSet;
MethodParameters:
Name Flags
key final
switchPoint final
java.util.Set<java.lang.invoke.SwitchPoint> getSwitchPoints();
descriptor: (Ljava/lang/Object;)Ljava/util/Set;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.runtime.PropertySwitchPoints.switchPointMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
invokevirtual jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet.elements:()Ljava/util/Set;
areturn
3: StackMap locals: jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet
StackMap stack:
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/runtime/PropertySwitchPoints;
0 4 1 key Ljava/lang/Object;
1 4 2 switchPointSet Ljdk/nashorn/internal/runtime/PropertySwitchPoints$WeakSwitchPointSet;
Signature: (Ljava/lang/Object;)Ljava/util/Set<Ljava/lang/invoke/SwitchPoint;>;
MethodParameters:
Name Flags
key final
synchronized void invalidateProperty(jdk.nashorn.internal.runtime.Property);
descriptor: (Ljdk/nashorn/internal/runtime/Property;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.runtime.PropertySwitchPoints.switchPointMap:Ljava/util/Map;
aload 1
invokevirtual jdk.nashorn.internal.runtime.Property.getKey:()Ljava/lang/Object;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet
astore 2
start local 2 1: aload 2
ifnull 7
2: getstatic jdk.nashorn.internal.runtime.Context.DEBUG:Z
ifeq 4
3: getstatic jdk.nashorn.internal.runtime.PropertySwitchPoints.switchPointsInvalidated:Ljava/util/concurrent/atomic/LongAdder;
aload 2
invokevirtual jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet.size:()I
i2l
invokevirtual java.util.concurrent.atomic.LongAdder.add:(J)V
4: StackMap locals: jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet
StackMap stack:
aload 2
invokevirtual jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet.elements:()Ljava/util/Set;
getstatic jdk.nashorn.internal.runtime.PropertySwitchPoints.EMPTY_SWITCHPOINT_ARRAY:[Ljava/lang/invoke/SwitchPoint;
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.invoke.SwitchPoint[]
astore 3
start local 3 5: aload 3
invokestatic java.lang.invoke.SwitchPoint.invalidateAll:([Ljava/lang/invoke/SwitchPoint;)V
6: aload 0
getfield jdk.nashorn.internal.runtime.PropertySwitchPoints.switchPointMap:Ljava/util/Map;
aload 1
invokevirtual jdk.nashorn.internal.runtime.Property.getKey:()Ljava/lang/Object;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/nashorn/internal/runtime/PropertySwitchPoints;
0 8 1 prop Ljdk/nashorn/internal/runtime/Property;
1 8 2 set Ljdk/nashorn/internal/runtime/PropertySwitchPoints$WeakSwitchPointSet;
5 7 3 switchPoints [Ljava/lang/invoke/SwitchPoint;
MethodParameters:
Name Flags
prop final
synchronized void invalidateInheritedProperties(jdk.nashorn.internal.runtime.PropertyMap);
descriptor: (Ljdk/nashorn/internal/runtime/PropertyMap;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.runtime.PropertySwitchPoints.switchPointMap:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: jdk.nashorn.internal.runtime.PropertySwitchPoints jdk.nashorn.internal.runtime.PropertyMap top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 2: aload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokevirtual jdk.nashorn.internal.runtime.PropertyMap.findProperty:(Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/Property;
ifnull 4
3: goto 8
4: StackMap locals: jdk.nashorn.internal.runtime.PropertySwitchPoints jdk.nashorn.internal.runtime.PropertyMap java.util.Map$Entry java.util.Iterator
StackMap stack:
getstatic jdk.nashorn.internal.runtime.Context.DEBUG:Z
ifeq 6
5: getstatic jdk.nashorn.internal.runtime.PropertySwitchPoints.switchPointsInvalidated:Ljava/util/concurrent/atomic/LongAdder;
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet
invokevirtual jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet.size:()I
i2l
invokevirtual java.util.concurrent.atomic.LongAdder.add:(J)V
6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet
invokevirtual jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet.elements:()Ljava/util/Set;
getstatic jdk.nashorn.internal.runtime.PropertySwitchPoints.EMPTY_SWITCHPOINT_ARRAY:[Ljava/lang/invoke/SwitchPoint;
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.invoke.SwitchPoint[]
astore 4
start local 4 7: aload 4
invokestatic java.lang.invoke.SwitchPoint.invalidateAll:([Ljava/lang/invoke/SwitchPoint;)V
end local 4 end local 2 8: StackMap locals: jdk.nashorn.internal.runtime.PropertySwitchPoints jdk.nashorn.internal.runtime.PropertyMap top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
9: aload 0
getfield jdk.nashorn.internal.runtime.PropertySwitchPoints.switchPointMap:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/nashorn/internal/runtime/PropertySwitchPoints;
0 11 1 map Ljdk/nashorn/internal/runtime/PropertyMap;
2 8 2 entry Ljava/util/Map$Entry<Ljava/lang/Object;Ljdk/nashorn/internal/runtime/PropertySwitchPoints$WeakSwitchPointSet;>;
7 8 4 switchPoints [Ljava/lang/invoke/SwitchPoint;
MethodParameters:
Name Flags
map final
}
SourceFile: "PropertySwitchPoints.java"
NestMembers:
jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
private WeakSwitchPointSet = jdk.nashorn.internal.runtime.PropertySwitchPoints$WeakSwitchPointSet of jdk.nashorn.internal.runtime.PropertySwitchPoints