public class org.jruby.embed.internal.ConcurrentLocalContextProvider extends org.jruby.embed.internal.AbstractLocalContextProvider
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jruby.embed.internal.ConcurrentLocalContextProvider
  super_class: org.jruby.embed.internal.AbstractLocalContextProvider
{
  private volatile java.util.concurrent.ConcurrentLinkedQueue<java.util.concurrent.atomic.AtomicReference<org.jruby.embed.internal.LocalContext>> contextRefs;
    descriptor: Ljava/util/concurrent/ConcurrentLinkedQueue;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
    Signature: Ljava/util/concurrent/ConcurrentLinkedQueue<Ljava/util/concurrent/atomic/AtomicReference<Lorg/jruby/embed/internal/LocalContext;>;>;

  private java.lang.ThreadLocal<java.util.concurrent.atomic.AtomicReference<org.jruby.embed.internal.LocalContext>> contextHolder;
    descriptor: Ljava/lang/ThreadLocal;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/lang/ThreadLocal<Ljava/util/concurrent/atomic/AtomicReference<Lorg/jruby/embed/internal/LocalContext;>;>;

  public void <init>(org.jruby.embed.LocalVariableBehavior);
    descriptor: (Lorg/jruby/embed/LocalVariableBehavior;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.jruby.embed.internal.ConcurrentLocalContextProvider this
        start local 1 // org.jruby.embed.LocalVariableBehavior behavior
         0: .line 76
            aload 0 /* this */
            invokestatic org.jruby.embed.internal.ConcurrentLocalContextProvider.getGlobalRuntimeConfigOrNew:()Lorg/jruby/RubyInstanceConfig;
            aload 1 /* behavior */
            invokespecial org.jruby.embed.internal.AbstractLocalContextProvider.<init>:(Lorg/jruby/RubyInstanceConfig;Lorg/jruby/embed/LocalVariableBehavior;)V
         1: .line 47
            aload 0 /* this */
         2: .line 48
            new java.util.concurrent.ConcurrentLinkedQueue
            dup
            invokespecial java.util.concurrent.ConcurrentLinkedQueue.<init>:()V
            putfield org.jruby.embed.internal.ConcurrentLocalContextProvider.contextRefs:Ljava/util/concurrent/ConcurrentLinkedQueue;
         3: .line 50
            aload 0 /* this */
         4: .line 51
            new org.jruby.embed.internal.ConcurrentLocalContextProvider$1
            dup
            aload 0 /* this */
            invokespecial org.jruby.embed.internal.ConcurrentLocalContextProvider$1.<init>:(Lorg/jruby/embed/internal/ConcurrentLocalContextProvider;)V
            putfield org.jruby.embed.internal.ConcurrentLocalContextProvider.contextHolder:Ljava/lang/ThreadLocal;
         5: .line 77
            return
        end local 1 // org.jruby.embed.LocalVariableBehavior behavior
        end local 0 // org.jruby.embed.internal.ConcurrentLocalContextProvider this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    6     0      this  Lorg/jruby/embed/internal/ConcurrentLocalContextProvider;
            0    6     1  behavior  Lorg/jruby/embed/LocalVariableBehavior;
    MethodParameters:
          Name  Flags
      behavior  

  public void <init>(org.jruby.embed.LocalVariableBehavior, boolean);
    descriptor: (Lorg/jruby/embed/LocalVariableBehavior;Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.jruby.embed.internal.ConcurrentLocalContextProvider this
        start local 1 // org.jruby.embed.LocalVariableBehavior behavior
        start local 2 // boolean lazy
         0: .line 80
            aload 0 /* this */
            invokestatic org.jruby.embed.internal.ConcurrentLocalContextProvider.getGlobalRuntimeConfigOrNew:()Lorg/jruby/RubyInstanceConfig;
            aload 1 /* behavior */
            invokespecial org.jruby.embed.internal.AbstractLocalContextProvider.<init>:(Lorg/jruby/RubyInstanceConfig;Lorg/jruby/embed/LocalVariableBehavior;)V
         1: .line 47
            aload 0 /* this */
         2: .line 48
            new java.util.concurrent.ConcurrentLinkedQueue
            dup
            invokespecial java.util.concurrent.ConcurrentLinkedQueue.<init>:()V
            putfield org.jruby.embed.internal.ConcurrentLocalContextProvider.contextRefs:Ljava/util/concurrent/ConcurrentLinkedQueue;
         3: .line 50
            aload 0 /* this */
         4: .line 51
            new org.jruby.embed.internal.ConcurrentLocalContextProvider$1
            dup
            aload 0 /* this */
            invokespecial org.jruby.embed.internal.ConcurrentLocalContextProvider$1.<init>:(Lorg/jruby/embed/internal/ConcurrentLocalContextProvider;)V
            putfield org.jruby.embed.internal.ConcurrentLocalContextProvider.contextHolder:Ljava/lang/ThreadLocal;
         5: .line 81
            aload 0 /* this */
            iload 2 /* lazy */
            putfield org.jruby.embed.internal.ConcurrentLocalContextProvider.lazy:Z
         6: .line 82
            return
        end local 2 // boolean lazy
        end local 1 // org.jruby.embed.LocalVariableBehavior behavior
        end local 0 // org.jruby.embed.internal.ConcurrentLocalContextProvider this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    7     0      this  Lorg/jruby/embed/internal/ConcurrentLocalContextProvider;
            0    7     1  behavior  Lorg/jruby/embed/LocalVariableBehavior;
            0    7     2      lazy  Z
    MethodParameters:
          Name  Flags
      behavior  
      lazy      

  public org.jruby.Ruby getRuntime();
    descriptor: ()Lorg/jruby/Ruby;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.embed.internal.ConcurrentLocalContextProvider this
         0: .line 86
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual org.jruby.embed.internal.ConcurrentLocalContextProvider.getGlobalRuntime:(Lorg/jruby/embed/internal/AbstractLocalContextProvider;)Lorg/jruby/Ruby;
            areturn
        end local 0 // org.jruby.embed.internal.ConcurrentLocalContextProvider this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/embed/internal/ConcurrentLocalContextProvider;

  public org.jruby.RubyInstanceConfig getRubyInstanceConfig();
    descriptor: ()Lorg/jruby/RubyInstanceConfig;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.embed.internal.ConcurrentLocalContextProvider this
         0: .line 91
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual org.jruby.embed.internal.ConcurrentLocalContextProvider.getGlobalRuntimeConfig:(Lorg/jruby/embed/internal/AbstractLocalContextProvider;)Lorg/jruby/RubyInstanceConfig;
            areturn
        end local 0 // org.jruby.embed.internal.ConcurrentLocalContextProvider this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/embed/internal/ConcurrentLocalContextProvider;

  public org.jruby.embed.internal.BiVariableMap getVarMap();
    descriptor: ()Lorg/jruby/embed/internal/BiVariableMap;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.embed.internal.ConcurrentLocalContextProvider this
         0: .line 96
            aload 0 /* this */
            getfield org.jruby.embed.internal.ConcurrentLocalContextProvider.contextHolder:Ljava/lang/ThreadLocal;
            invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
            checkcast java.util.concurrent.atomic.AtomicReference
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast org.jruby.embed.internal.LocalContext
            aload 0 /* this */
            invokevirtual org.jruby.embed.internal.LocalContext.getVarMap:(Lorg/jruby/embed/internal/LocalContextProvider;)Lorg/jruby/embed/internal/BiVariableMap;
            areturn
        end local 0 // org.jruby.embed.internal.ConcurrentLocalContextProvider this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/embed/internal/ConcurrentLocalContextProvider;

  public java.util.Map getAttributeMap();
    descriptor: ()Ljava/util/Map;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.embed.internal.ConcurrentLocalContextProvider this
         0: .line 101
            aload 0 /* this */
            getfield org.jruby.embed.internal.ConcurrentLocalContextProvider.contextHolder:Ljava/lang/ThreadLocal;
            invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
            checkcast java.util.concurrent.atomic.AtomicReference
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast org.jruby.embed.internal.LocalContext
            invokevirtual org.jruby.embed.internal.LocalContext.getAttributeMap:()Ljava/util/Map;
            areturn
        end local 0 // org.jruby.embed.internal.ConcurrentLocalContextProvider this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/embed/internal/ConcurrentLocalContextProvider;

  public boolean isRuntimeInitialized();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.embed.internal.ConcurrentLocalContextProvider this
         0: .line 106
            invokestatic org.jruby.Ruby.isGlobalRuntimeReady:()Z
            ireturn
        end local 0 // org.jruby.embed.internal.ConcurrentLocalContextProvider this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/embed/internal/ConcurrentLocalContextProvider;

  public void terminate();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // org.jruby.embed.internal.ConcurrentLocalContextProvider this
         0: .line 111
            aload 0 /* this */
            getfield org.jruby.embed.internal.ConcurrentLocalContextProvider.contextRefs:Ljava/util/concurrent/ConcurrentLinkedQueue;
            astore 1 /* terminated */
        start local 1 // java.util.concurrent.ConcurrentLinkedQueue terminated
         1: .line 112
            aload 0 /* this */
            aconst_null
            putfield org.jruby.embed.internal.ConcurrentLocalContextProvider.contextRefs:Ljava/util/concurrent/ConcurrentLinkedQueue;
         2: .line 114
            aload 1 /* terminated */
            ifnull 9
         3: .line 115
            aload 1 /* terminated */
            invokevirtual java.util.concurrent.ConcurrentLinkedQueue.iterator:()Ljava/util/Iterator;
            astore 3
            goto 7
      StackMap locals: org.jruby.embed.internal.ConcurrentLocalContextProvider java.util.concurrent.ConcurrentLinkedQueue top java.util.Iterator
      StackMap stack:
         4: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.concurrent.atomic.AtomicReference
            astore 2 /* contextRef */
        start local 2 // java.util.concurrent.atomic.AtomicReference contextRef
         5: .line 116
            aload 2 /* contextRef */
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast org.jruby.embed.internal.LocalContext
            invokevirtual org.jruby.embed.internal.LocalContext.remove:()V
         6: .line 117
            aload 2 /* contextRef */
            aconst_null
            invokevirtual java.util.concurrent.atomic.AtomicReference.lazySet:(Ljava/lang/Object;)V
        end local 2 // java.util.concurrent.atomic.AtomicReference contextRef
         7: .line 115
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
         8: .line 120
            aload 1 /* terminated */
            invokevirtual java.util.concurrent.ConcurrentLinkedQueue.clear:()V
         9: .line 123
      StackMap locals: org.jruby.embed.internal.ConcurrentLocalContextProvider java.util.concurrent.ConcurrentLinkedQueue
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.embed.internal.ConcurrentLocalContextProvider.contextHolder:Ljava/lang/ThreadLocal;
            invokevirtual java.lang.ThreadLocal.remove:()V
        10: .line 124
            aload 0 /* this */
            getfield org.jruby.embed.internal.ConcurrentLocalContextProvider.contextHolder:Ljava/lang/ThreadLocal;
            aconst_null
            invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
        11: .line 125
            return
        end local 1 // java.util.concurrent.ConcurrentLinkedQueue terminated
        end local 0 // org.jruby.embed.internal.ConcurrentLocalContextProvider this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   12     0        this  Lorg/jruby/embed/internal/ConcurrentLocalContextProvider;
            1   12     1  terminated  Ljava/util/concurrent/ConcurrentLinkedQueue<Ljava/util/concurrent/atomic/AtomicReference<Lorg/jruby/embed/internal/LocalContext;>;>;
            5    7     2  contextRef  Ljava/util/concurrent/atomic/AtomicReference<Lorg/jruby/embed/internal/LocalContext;>;
}
SourceFile: "ConcurrentLocalContextProvider.java"
NestMembers:
  org.jruby.embed.internal.ConcurrentLocalContextProvider$1
InnerClasses:
  org.jruby.embed.internal.ConcurrentLocalContextProvider$1