final class com.oracle.graal.python.runtime.PythonContext$PythonThreadState
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.oracle.graal.python.runtime.PythonContext$PythonThreadState
  super_class: java.lang.Object
{
  final java.util.List<java.lang.ref.WeakReference<java.lang.Thread>> owners;
    descriptor: Ljava/util/List;
    flags: (0x0010) ACC_FINAL
    Signature: Ljava/util/List<Ljava/lang/ref/WeakReference<Ljava/lang/Thread;>;>;

  com.oracle.graal.python.builtins.objects.frame.PFrame$Reference topframeref;
    descriptor: Lcom/oracle/graal/python/builtins/objects/frame/PFrame$Reference;
    flags: (0x0000) 

  java.lang.ref.WeakReference<com.oracle.graal.python.builtins.objects.thread.PLock> sentinelLock;
    descriptor: Ljava/lang/ref/WeakReference;
    flags: (0x0000) 
    Signature: Ljava/lang/ref/WeakReference<Lcom/oracle/graal/python/builtins/objects/thread/PLock;>;

  com.oracle.graal.python.runtime.exception.PException currentException;
    descriptor: Lcom/oracle/graal/python/runtime/exception/PException;
    flags: (0x0000) 

  com.oracle.graal.python.runtime.exception.PException caughtException;
    descriptor: Lcom/oracle/graal/python/runtime/exception/PException;
    flags: (0x0000) 

  java.util.HashSet<java.lang.Object> reprObjectSet;
    descriptor: Ljava/util/HashSet;
    flags: (0x0000) 
    Signature: Ljava/util/HashSet<Ljava/lang/Object;>;

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.oracle.graal.python.runtime.PythonContext$PythonThreadState this
         0: .line 135
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 122
            aload 0 /* this */
            getstatic com.oracle.graal.python.builtins.objects.frame.PFrame$Reference.EMPTY:Lcom/oracle/graal/python/builtins/objects/frame/PFrame$Reference;
            putfield com.oracle.graal.python.runtime.PythonContext$PythonThreadState.topframeref:Lcom/oracle/graal/python/builtins/objects/frame/PFrame$Reference;
         2: .line 136
            aload 0 /* this */
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            putfield com.oracle.graal.python.runtime.PythonContext$PythonThreadState.owners:Ljava/util/List;
         3: .line 137
            return
        end local 0 // com.oracle.graal.python.runtime.PythonContext$PythonThreadState this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/oracle/graal/python/runtime/PythonContext$PythonThreadState;

  void <init>(java.lang.Thread);
    descriptor: (Ljava/lang/Thread;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.oracle.graal.python.runtime.PythonContext$PythonThreadState this
        start local 1 // java.lang.Thread owner
         0: .line 140
            aload 0 /* this */
            invokespecial com.oracle.graal.python.runtime.PythonContext$PythonThreadState.<init>:()V
         1: .line 141
            aload 0 /* this */
            aload 1 /* owner */
            invokevirtual com.oracle.graal.python.runtime.PythonContext$PythonThreadState.addOwner:(Ljava/lang/Thread;)V
         2: .line 142
            return
        end local 1 // java.lang.Thread owner
        end local 0 // com.oracle.graal.python.runtime.PythonContext$PythonThreadState this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   this  Lcom/oracle/graal/python/runtime/PythonContext$PythonThreadState;
            0    3     1  owner  Ljava/lang/Thread;
    MethodParameters:
       Name  Flags
      owner  

  void addOwner(java.lang.Thread);
    descriptor: (Ljava/lang/Thread;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // com.oracle.graal.python.runtime.PythonContext$PythonThreadState this
        start local 1 // java.lang.Thread owner
         0: .line 145
            aload 0 /* this */
            getfield com.oracle.graal.python.runtime.PythonContext$PythonThreadState.owners:Ljava/util/List;
            new java.lang.ref.WeakReference
            dup
            aload 1 /* owner */
            invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         1: .line 146
            return
        end local 1 // java.lang.Thread owner
        end local 0 // com.oracle.graal.python.runtime.PythonContext$PythonThreadState this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lcom/oracle/graal/python/runtime/PythonContext$PythonThreadState;
            0    2     1  owner  Ljava/lang/Thread;
    MethodParameters:
       Name  Flags
      owner  

  void removeOwner(java.lang.Thread);
    descriptor: (Ljava/lang/Thread;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.oracle.graal.python.runtime.PythonContext$PythonThreadState this
        start local 1 // java.lang.Thread thread
         0: .line 149
            aload 0 /* this */
            getfield com.oracle.graal.python.runtime.PythonContext$PythonThreadState.owners:Ljava/util/List;
            aload 1 /* thread */
            invokedynamic test(Ljava/lang/Thread;)Ljava/util/function/Predicate;
              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;)Z
                  com/oracle/graal/python/runtime/PythonContext$PythonThreadState.lambda$0(Ljava/lang/Thread;Ljava/lang/ref/WeakReference;)Z (6)
                  (Ljava/lang/ref/WeakReference;)Z
            invokeinterface java.util.List.removeIf:(Ljava/util/function/Predicate;)Z
            pop
         1: .line 150
            return
        end local 1 // java.lang.Thread thread
        end local 0 // com.oracle.graal.python.runtime.PythonContext$PythonThreadState this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Lcom/oracle/graal/python/runtime/PythonContext$PythonThreadState;
            0    2     1  thread  Ljava/lang/Thread;
    MethodParameters:
        Name  Flags
      thread  

  boolean isOwner(java.lang.Thread);
    descriptor: (Ljava/lang/Thread;)Z
    flags: (0x0000) 
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // com.oracle.graal.python.runtime.PythonContext$PythonThreadState this
        start local 1 // java.lang.Thread thread
         0: .line 153
            aload 0 /* this */
            getfield com.oracle.graal.python.runtime.PythonContext$PythonThreadState.owners:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 4
      StackMap locals: com.oracle.graal.python.runtime.PythonContext$PythonThreadState java.lang.Thread top java.util.Iterator
      StackMap stack:
         1: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.ref.WeakReference
            astore 2 /* owner */
        start local 2 // java.lang.ref.WeakReference owner
         2: .line 154
            aload 2 /* owner */
            invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
            aload 1 /* thread */
            if_acmpne 4
         3: .line 155
            iconst_1
            ireturn
        end local 2 // java.lang.ref.WeakReference owner
         4: .line 153
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         5: .line 158
            iconst_0
            ireturn
        end local 1 // java.lang.Thread thread
        end local 0 // com.oracle.graal.python.runtime.PythonContext$PythonThreadState this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0    this  Lcom/oracle/graal/python/runtime/PythonContext$PythonThreadState;
            0    6     1  thread  Ljava/lang/Thread;
            2    4     2   owner  Ljava/lang/ref/WeakReference<Ljava/lang/Thread;>;
    MethodParameters:
        Name  Flags
      thread  

  boolean hasOwners();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.graal.python.runtime.PythonContext$PythonThreadState this
         0: .line 163
            aload 0 /* this */
            getfield com.oracle.graal.python.runtime.PythonContext$PythonThreadState.owners:Ljava/util/List;
            invokedynamic test()Ljava/util/function/Predicate;
              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;)Z
                  com/oracle/graal/python/runtime/PythonContext$PythonThreadState.lambda$1(Ljava/lang/ref/WeakReference;)Z (6)
                  (Ljava/lang/ref/WeakReference;)Z
            invokeinterface java.util.List.removeIf:(Ljava/util/function/Predicate;)Z
            pop
         1: .line 164
            aload 0 /* this */
            getfield com.oracle.graal.python.runtime.PythonContext$PythonThreadState.owners:Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 2
            iconst_0
            goto 3
      StackMap locals:
      StackMap stack:
         2: iconst_1
      StackMap locals:
      StackMap stack: int
         3: ireturn
        end local 0 // com.oracle.graal.python.runtime.PythonContext$PythonThreadState this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/oracle/graal/python/runtime/PythonContext$PythonThreadState;

  java.util.List<java.lang.ref.WeakReference<java.lang.Thread>> getOwners();
    descriptor: ()Ljava/util/List;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.graal.python.runtime.PythonContext$PythonThreadState this
         0: .line 168
            aload 0 /* this */
            getfield com.oracle.graal.python.runtime.PythonContext$PythonThreadState.owners:Ljava/util/List;
            areturn
        end local 0 // com.oracle.graal.python.runtime.PythonContext$PythonThreadState this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/graal/python/runtime/PythonContext$PythonThreadState;
    Signature: ()Ljava/util/List<Ljava/lang/ref/WeakReference<Ljava/lang/Thread;>;>;

  boolean reprEnter(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Z
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.oracle.graal.python.runtime.PythonContext$PythonThreadState this
        start local 1 // java.lang.Object item
         0: .line 173
            aload 0 /* this */
            getfield com.oracle.graal.python.runtime.PythonContext$PythonThreadState.reprObjectSet:Ljava/util/HashSet;
            ifnonnull 2
         1: .line 174
            aload 0 /* this */
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            putfield com.oracle.graal.python.runtime.PythonContext$PythonThreadState.reprObjectSet:Ljava/util/HashSet;
         2: .line 176
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.graal.python.runtime.PythonContext$PythonThreadState.reprObjectSet:Ljava/util/HashSet;
            aload 1 /* item */
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            ireturn
        end local 1 // java.lang.Object item
        end local 0 // com.oracle.graal.python.runtime.PythonContext$PythonThreadState this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/oracle/graal/python/runtime/PythonContext$PythonThreadState;
            0    3     1  item  Ljava/lang/Object;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
    MethodParameters:
      Name  Flags
      item  

  void reprLeave(java.lang.Object);
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.oracle.graal.python.runtime.PythonContext$PythonThreadState this
        start local 1 // java.lang.Object item
         0: .line 181
            aload 0 /* this */
            getfield com.oracle.graal.python.runtime.PythonContext$PythonThreadState.reprObjectSet:Ljava/util/HashSet;
            aload 1 /* item */
            invokevirtual java.util.HashSet.remove:(Ljava/lang/Object;)Z
            pop
         1: .line 182
            return
        end local 1 // java.lang.Object item
        end local 0 // com.oracle.graal.python.runtime.PythonContext$PythonThreadState this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/graal/python/runtime/PythonContext$PythonThreadState;
            0    2     1  item  Ljava/lang/Object;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
    MethodParameters:
      Name  Flags
      item  

  private static boolean lambda$0(java.lang.Thread, java.lang.ref.WeakReference);
    descriptor: (Ljava/lang/Thread;Ljava/lang/ref/WeakReference;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
        start local 1 // java.lang.ref.WeakReference item
         0: .line 149
            aload 1 /* item */
            invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
            aload 0
            if_acmpne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 1 // java.lang.ref.WeakReference item
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     1  item  Ljava/lang/ref/WeakReference<Ljava/lang/Thread;>;

  private static boolean lambda$1(java.lang.ref.WeakReference);
    descriptor: (Ljava/lang/ref/WeakReference;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.lang.ref.WeakReference item
         0: .line 163
            aload 0 /* item */
            invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
            ifnonnull 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 0 // java.lang.ref.WeakReference item
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  item  Ljava/lang/ref/WeakReference<Ljava/lang/Thread;>;
}
SourceFile: "PythonContext.java"
NestHost: com.oracle.graal.python.runtime.PythonContext
InnerClasses:
  public final Reference = com.oracle.graal.python.builtins.objects.frame.PFrame$Reference of com.oracle.graal.python.builtins.objects.frame.PFrame
  private final PythonThreadState = com.oracle.graal.python.runtime.PythonContext$PythonThreadState of com.oracle.graal.python.runtime.PythonContext
  public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles