public final class org.glassfish.grizzly.nio.SelectorRunner implements java.lang.Runnable
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.glassfish.grizzly.nio.SelectorRunner
  super_class: java.lang.Object
{
  private static final java.util.logging.Logger LOGGER;
    descriptor: Ljava/util/logging/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.lang.String THREAD_MARKER;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: " SelectorRunner"

  private final org.glassfish.grizzly.nio.NIOTransport transport;
    descriptor: Lorg/glassfish/grizzly/nio/NIOTransport;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.concurrent.atomic.AtomicReference<org.glassfish.grizzly.Transport$State> stateHolder;
    descriptor: Ljava/util/concurrent/atomic/AtomicReference;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/atomic/AtomicReference<Lorg/glassfish/grizzly/Transport$State;>;

  private final java.util.Queue<org.glassfish.grizzly.nio.SelectorHandlerTask> pendingTasks;
    descriptor: Ljava/util/Queue;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Queue<Lorg/glassfish/grizzly/nio/SelectorHandlerTask;>;

  private java.util.Queue<org.glassfish.grizzly.nio.SelectorHandlerTask> currentPostponedTasks;
    descriptor: Ljava/util/Queue;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/Queue<Lorg/glassfish/grizzly/nio/SelectorHandlerTask;>;

  private final java.util.Queue<org.glassfish.grizzly.nio.SelectorHandlerTask> evenPostponedTasks;
    descriptor: Ljava/util/Queue;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Queue<Lorg/glassfish/grizzly/nio/SelectorHandlerTask;>;

  private final java.util.Queue<org.glassfish.grizzly.nio.SelectorHandlerTask> oddPostponedTasks;
    descriptor: Ljava/util/Queue;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Queue<Lorg/glassfish/grizzly/nio/SelectorHandlerTask;>;

  private volatile int dumbVolatile;
    descriptor: I
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private java.nio.channels.Selector selector;
    descriptor: Ljava/nio/channels/Selector;
    flags: (0x0002) ACC_PRIVATE

  private java.lang.Thread selectorRunnerThread;
    descriptor: Ljava/lang/Thread;
    flags: (0x0002) ACC_PRIVATE

  private boolean isResume;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private int lastSelectedKeysCount;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private java.util.Set<java.nio.channels.SelectionKey> readyKeySet;
    descriptor: Ljava/util/Set;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/Set<Ljava/nio/channels/SelectionKey;>;

  private java.util.Iterator<java.nio.channels.SelectionKey> iterator;
    descriptor: Ljava/util/Iterator;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/Iterator<Ljava/nio/channels/SelectionKey;>;

  private java.nio.channels.SelectionKey key;
    descriptor: Ljava/nio/channels/SelectionKey;
    flags: (0x0002) ACC_PRIVATE

  private int keyReadyOps;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private final java.util.concurrent.atomic.AtomicBoolean selectorWakeupFlag;
    descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.concurrent.atomic.AtomicInteger runnerThreadActivityCounter;
    descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  volatile boolean hasPendingTasks;
    descriptor: Z
    flags: (0x0040) ACC_VOLATILE

  private long lastSpinTimestamp;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private int emptySpinCounter;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private final java.util.Map<java.nio.channels.Selector, java.lang.Long> spinnedSelectorsHistory;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/nio/channels/Selector;Ljava/lang/Long;>;

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 54
            ldc Lorg/glassfish/grizzly/nio/SelectorRunner;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic org.glassfish.grizzly.nio.SelectorRunner.$assertionsDisabled:Z
         3: .line 55
            ldc Lorg/glassfish/grizzly/nio/SelectorRunner;
            invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
            putstatic org.glassfish.grizzly.nio.SelectorRunner.LOGGER:Ljava/util/logging/Logger;
         4: .line 57
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static org.glassfish.grizzly.nio.SelectorRunner create(org.glassfish.grizzly.nio.NIOTransport);
    descriptor: (Lorg/glassfish/grizzly/nio/NIOTransport;)Lorg/glassfish/grizzly/nio/SelectorRunner;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.nio.NIOTransport transport
         0: .line 85
            new org.glassfish.grizzly.nio.SelectorRunner
            dup
            aload 0 /* transport */
            aload 0 /* transport */
            invokevirtual org.glassfish.grizzly.nio.NIOTransport.getSelectorProvider:()Ljava/nio/channels/spi/SelectorProvider;
            invokestatic org.glassfish.grizzly.nio.Selectors.newSelector:(Ljava/nio/channels/spi/SelectorProvider;)Ljava/nio/channels/Selector;
            invokespecial org.glassfish.grizzly.nio.SelectorRunner.<init>:(Lorg/glassfish/grizzly/nio/NIOTransport;Ljava/nio/channels/Selector;)V
            areturn
        end local 0 // org.glassfish.grizzly.nio.NIOTransport transport
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0  transport  Lorg/glassfish/grizzly/nio/NIOTransport;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
           Name  Flags
      transport  final

  private void <init>(org.glassfish.grizzly.nio.NIOTransport, java.nio.channels.Selector);
    descriptor: (Lorg/glassfish/grizzly/nio/NIOTransport;Ljava/nio/channels/Selector;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
        start local 1 // org.glassfish.grizzly.nio.NIOTransport transport
        start local 2 // java.nio.channels.Selector selector
         0: .line 90
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 68
            aload 0 /* this */
            iconst_1
            putfield org.glassfish.grizzly.nio.SelectorRunner.dumbVolatile:I
         2: .line 78
            aload 0 /* this */
            aconst_null
            putfield org.glassfish.grizzly.nio.SelectorRunner.key:Ljava/nio/channels/SelectionKey;
         3: .line 81
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicBoolean
            dup
            invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
            putfield org.glassfish.grizzly.nio.SelectorRunner.selectorWakeupFlag:Ljava/util/concurrent/atomic/AtomicBoolean;
         4: .line 82
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicInteger
            dup
            invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
            putfield org.glassfish.grizzly.nio.SelectorRunner.runnerThreadActivityCounter:Ljava/util/concurrent/atomic/AtomicInteger;
         5: .line 503
            aload 0 /* this */
            new java.util.WeakHashMap
            dup
            invokespecial java.util.WeakHashMap.<init>:()V
            putfield org.glassfish.grizzly.nio.SelectorRunner.spinnedSelectorsHistory:Ljava/util/Map;
         6: .line 91
            aload 0 /* this */
            aload 1 /* transport */
            putfield org.glassfish.grizzly.nio.SelectorRunner.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
         7: .line 92
            aload 0 /* this */
            aload 2 /* selector */
            putfield org.glassfish.grizzly.nio.SelectorRunner.selector:Ljava/nio/channels/Selector;
         8: .line 93
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicReference
            dup
            getstatic org.glassfish.grizzly.Transport$State.STOPPED:Lorg/glassfish/grizzly/Transport$State;
            invokespecial java.util.concurrent.atomic.AtomicReference.<init>:(Ljava/lang/Object;)V
            putfield org.glassfish.grizzly.nio.SelectorRunner.stateHolder:Ljava/util/concurrent/atomic/AtomicReference;
         9: .line 95
            aload 0 /* this */
            new java.util.concurrent.ConcurrentLinkedQueue
            dup
            invokespecial java.util.concurrent.ConcurrentLinkedQueue.<init>:()V
            putfield org.glassfish.grizzly.nio.SelectorRunner.pendingTasks:Ljava/util/Queue;
        10: .line 96
            aload 0 /* this */
            new java.util.ArrayDeque
            dup
            invokespecial java.util.ArrayDeque.<init>:()V
            putfield org.glassfish.grizzly.nio.SelectorRunner.evenPostponedTasks:Ljava/util/Queue;
        11: .line 97
            aload 0 /* this */
            new java.util.ArrayDeque
            dup
            invokespecial java.util.ArrayDeque.<init>:()V
            putfield org.glassfish.grizzly.nio.SelectorRunner.oddPostponedTasks:Ljava/util/Queue;
        12: .line 98
            aload 0 /* this */
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.evenPostponedTasks:Ljava/util/Queue;
            putfield org.glassfish.grizzly.nio.SelectorRunner.currentPostponedTasks:Ljava/util/Queue;
        13: .line 99
            return
        end local 2 // java.nio.channels.Selector selector
        end local 1 // org.glassfish.grizzly.nio.NIOTransport transport
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   14     0       this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            0   14     1  transport  Lorg/glassfish/grizzly/nio/NIOTransport;
            0   14     2   selector  Ljava/nio/channels/Selector;
    MethodParameters:
           Name  Flags
      transport  final
      selector   final

  void addPendingTask(org.glassfish.grizzly.nio.SelectorHandlerTask);
    descriptor: (Lorg/glassfish/grizzly/nio/SelectorHandlerTask;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
        start local 1 // org.glassfish.grizzly.nio.SelectorHandlerTask task
         0: .line 102
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.pendingTasks:Ljava/util/Queue;
            aload 1 /* task */
            invokeinterface java.util.Queue.offer:(Ljava/lang/Object;)Z
            pop
         1: .line 103
            aload 0 /* this */
            iconst_1
            putfield org.glassfish.grizzly.nio.SelectorRunner.hasPendingTasks:Z
         2: .line 105
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.wakeupSelector:()V
         3: .line 106
            return
        end local 1 // org.glassfish.grizzly.nio.SelectorHandlerTask task
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            0    4     1  task  Lorg/glassfish/grizzly/nio/SelectorHandlerTask;
    MethodParameters:
      Name  Flags
      task  final

  private void wakeupSelector();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 109
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.getSelector:()Ljava/nio/channels/Selector;
            astore 1 /* localSelector */
        start local 1 // java.nio.channels.Selector localSelector
         1: .line 110
            aload 1 /* localSelector */
            ifnull 6
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.selectorWakeupFlag:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_0
            iconst_1
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
            ifeq 6
         2: .line 112
            aload 1 /* localSelector */
            invokevirtual java.nio.channels.Selector.wakeup:()Ljava/nio/channels/Selector;
            pop
         3: .line 113
            goto 6
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.nio.channels.Selector
      StackMap stack: java.lang.Exception
         4: astore 2 /* e */
        start local 2 // java.lang.Exception e
         5: .line 114
            getstatic org.glassfish.grizzly.nio.SelectorRunner.LOGGER:Ljava/util/logging/Logger;
            getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
            ldc "Error during selector wakeup"
            aload 2 /* e */
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 2 // java.lang.Exception e
         6: .line 117
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.nio.channels.Selector localSelector
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    7     0           this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            1    7     1  localSelector  Ljava/nio/channels/Selector;
            5    6     2              e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           2     3       4  Class java.lang.Exception

  public org.glassfish.grizzly.nio.NIOTransport getTransport();
    descriptor: ()Lorg/glassfish/grizzly/nio/NIOTransport;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 120
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
            areturn
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/nio/SelectorRunner;

  public java.nio.channels.Selector getSelector();
    descriptor: ()Ljava/nio/channels/Selector;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 124
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.dumbVolatile:I
            ifeq 2
         1: .line 125
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.selector:Ljava/nio/channels/Selector;
            areturn
         2: .line 128
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/glassfish/grizzly/nio/SelectorRunner;

  void setSelector(java.nio.channels.Selector);
    descriptor: (Ljava/nio/channels/Selector;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
        start local 1 // java.nio.channels.Selector selector
         0: .line 137
            aload 0 /* this */
            aload 1 /* selector */
            putfield org.glassfish.grizzly.nio.SelectorRunner.selector:Ljava/nio/channels/Selector;
         1: .line 138
            aload 0 /* this */
            dup
            getfield org.glassfish.grizzly.nio.SelectorRunner.dumbVolatile:I
            iconst_1
            iadd
            putfield org.glassfish.grizzly.nio.SelectorRunner.dumbVolatile:I
         2: .line 139
            return
        end local 1 // java.nio.channels.Selector selector
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0      this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            0    3     1  selector  Ljava/nio/channels/Selector;
    MethodParameters:
          Name  Flags
      selector  final

  private void setRunnerThread(java.lang.Thread);
    descriptor: (Ljava/lang/Thread;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
        start local 1 // java.lang.Thread runnerThread
         0: .line 142
            aload 0 /* this */
            aload 1 /* runnerThread */
            putfield org.glassfish.grizzly.nio.SelectorRunner.selectorRunnerThread:Ljava/lang/Thread;
         1: .line 143
            aload 0 /* this */
            dup
            getfield org.glassfish.grizzly.nio.SelectorRunner.dumbVolatile:I
            iconst_1
            iadd
            putfield org.glassfish.grizzly.nio.SelectorRunner.dumbVolatile:I
         2: .line 144
            return
        end local 1 // java.lang.Thread runnerThread
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    3     0          this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            0    3     1  runnerThread  Ljava/lang/Thread;
    MethodParameters:
              Name  Flags
      runnerThread  final

  public java.lang.Thread getRunnerThread();
    descriptor: ()Ljava/lang/Thread;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 147
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.dumbVolatile:I
            ifeq 2
         1: .line 148
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.selectorRunnerThread:Ljava/lang/Thread;
            areturn
         2: .line 151
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/glassfish/grizzly/nio/SelectorRunner;

  public org.glassfish.grizzly.Transport$State getState();
    descriptor: ()Lorg/glassfish/grizzly/Transport$State;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 155
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.stateHolder:Ljava/util/concurrent/atomic/AtomicReference;
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast org.glassfish.grizzly.Transport$State
            areturn
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/nio/SelectorRunner;

  public void postpone();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 159
            getstatic org.glassfish.grizzly.nio.SelectorRunner.$assertionsDisabled:Z
            ifne 1
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.selectorRunnerThread:Ljava/lang/Thread;
            ifnonnull 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 160
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.selectorRunnerThread:Ljava/lang/Thread;
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.removeThreadNameMarker:(Ljava/lang/Thread;)V
         2: .line 162
            iconst_0
            invokestatic org.glassfish.grizzly.threadpool.Threads.setService:(Z)V
         3: .line 164
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.runnerThreadActivityCounter:Ljava/util/concurrent/atomic/AtomicInteger;
            iconst_1
            iconst_0
            invokevirtual java.util.concurrent.atomic.AtomicInteger.compareAndSet:(II)Z
            pop
         4: .line 165
            aload 0 /* this */
            aconst_null
            putfield org.glassfish.grizzly.nio.SelectorRunner.selectorRunnerThread:Ljava/lang/Thread;
         5: .line 166
            aload 0 /* this */
            iconst_1
            putfield org.glassfish.grizzly.nio.SelectorRunner.isResume:Z
         6: .line 167
            aload 0 /* this */
            dup
            getfield org.glassfish.grizzly.nio.SelectorRunner.dumbVolatile:I
            iconst_1
            iadd
            putfield org.glassfish.grizzly.nio.SelectorRunner.dumbVolatile:I
         7: .line 168
            return
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lorg/glassfish/grizzly/nio/SelectorRunner;

  public synchronized void start();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 171
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.stateHolder:Ljava/util/concurrent/atomic/AtomicReference;
            getstatic org.glassfish.grizzly.Transport$State.STOPPED:Lorg/glassfish/grizzly/Transport$State;
            getstatic org.glassfish.grizzly.Transport$State.STARTING:Lorg/glassfish/grizzly/Transport$State;
            invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifne 3
         1: .line 172
            getstatic org.glassfish.grizzly.nio.SelectorRunner.LOGGER:Ljava/util/logging/Logger;
            getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
            invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_SELECTOR_RUNNER_NOT_IN_STOPPED_STATE_EXCEPTION:()Ljava/lang/String;
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
         2: .line 173
            return
         3: .line 176
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
            invokevirtual org.glassfish.grizzly.nio.NIOTransport.getKernelThreadPool:()Ljava/util/concurrent/ExecutorService;
            aload 0 /* this */
            invokeinterface java.util.concurrent.ExecutorService.execute:(Ljava/lang/Runnable;)V
         4: .line 177
            return
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/glassfish/grizzly/nio/SelectorRunner;

  public synchronized void stop();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 180
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.stateHolder:Ljava/util/concurrent/atomic/AtomicReference;
            getstatic org.glassfish.grizzly.Transport$State.STOPPING:Lorg/glassfish/grizzly/Transport$State;
            invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
         1: .line 181
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.wakeupSelector:()V
         2: .line 185
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.runnerThreadActivityCounter:Ljava/util/concurrent/atomic/AtomicInteger;
            iconst_0
            iconst_m1
            invokevirtual java.util.concurrent.atomic.AtomicInteger.compareAndSet:(II)Z
            ifeq 4
         3: .line 187
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.shutdownSelector:()V
         4: .line 189
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/glassfish/grizzly/nio/SelectorRunner;

  private void shutdownSelector();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=9, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 192
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.getSelector:()Ljava/nio/channels/Selector;
            astore 1 /* localSelector */
        start local 1 // java.nio.channels.Selector localSelector
         1: .line 193
            aload 1 /* localSelector */
            ifnull 26
         2: .line 195
            iconst_0
            anewarray java.nio.channels.SelectionKey
            astore 2 /* keys */
        start local 2 // java.nio.channels.SelectionKey[] keys
         3: .line 198
      StackMap locals: java.nio.channels.Selector java.nio.channels.SelectionKey[]
      StackMap stack:
            aload 1 /* localSelector */
            invokevirtual java.nio.channels.Selector.keys:()Ljava/util/Set;
            aload 2 /* keys */
            invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
            checkcast java.nio.channels.SelectionKey[]
            astore 2 /* keys */
         4: .line 199
            goto 7
         5: .line 200
      StackMap locals:
      StackMap stack: java.util.ConcurrentModificationException
            pop
         6: .line 196
            goto 3
         7: .line 204
      StackMap locals:
      StackMap stack:
            aload 2 /* keys */
            dup
            astore 6
            arraylength
            istore 5
            iconst_0
            istore 4
            goto 12
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.nio.channels.Selector java.nio.channels.SelectionKey[] top int int java.nio.channels.SelectionKey[]
      StackMap stack:
         8: aload 6
            iload 4
            aaload
            astore 3 /* selectionKey */
        start local 3 // java.nio.channels.SelectionKey selectionKey
         9: .line 205
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
            invokevirtual org.glassfish.grizzly.nio.NIOTransport.getSelectionKeyHandler:()Lorg/glassfish/grizzly/nio/SelectionKeyHandler;
            aload 3 /* selectionKey */
            invokeinterface org.glassfish.grizzly.nio.SelectionKeyHandler.getConnectionForKey:(Ljava/nio/channels/SelectionKey;)Lorg/glassfish/grizzly/nio/NIOConnection;
            astore 7 /* connection */
        start local 7 // org.glassfish.grizzly.Connection connection
        10: .line 206
            aload 7 /* connection */
            invokeinterface org.glassfish.grizzly.Connection.terminateSilently:()V
        end local 7 // org.glassfish.grizzly.Connection connection
        end local 3 // java.nio.channels.SelectionKey selectionKey
        11: .line 204
            iinc 4 1
      StackMap locals:
      StackMap stack:
        12: iload 4
            iload 5
            if_icmplt 8
        end local 2 // java.nio.channels.SelectionKey[] keys
        13: .line 208
            goto 23
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.nio.channels.Selector
      StackMap stack: java.nio.channels.ClosedSelectorException
        14: pop
        15: .line 212
            aload 1 /* localSelector */
            invokevirtual java.nio.channels.Selector.close:()V
        16: .line 213
            goto 26
      StackMap locals:
      StackMap stack: java.lang.Exception
        17: pop
            goto 26
        18: .line 210
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 8
        19: .line 212
            aload 1 /* localSelector */
            invokevirtual java.nio.channels.Selector.close:()V
        20: .line 213
            goto 22
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.nio.channels.Selector top top top top top top java.lang.Throwable
      StackMap stack: java.lang.Exception
        21: pop
        22: .line 215
      StackMap locals:
      StackMap stack:
            aload 8
            athrow
        23: .line 212
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.nio.channels.Selector
      StackMap stack:
            aload 1 /* localSelector */
            invokevirtual java.nio.channels.Selector.close:()V
        24: .line 213
            goto 26
      StackMap locals:
      StackMap stack: java.lang.Exception
        25: pop
        26: .line 218
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.pendingTasks:Ljava/util/Queue;
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.abortTasksInQueue:(Ljava/util/Queue;)V
        27: .line 219
            aload 0 /* this */
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.evenPostponedTasks:Ljava/util/Queue;
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.abortTasksInQueue:(Ljava/util/Queue;)V
        28: .line 220
            aload 0 /* this */
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.oddPostponedTasks:Ljava/util/Queue;
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.abortTasksInQueue:(Ljava/util/Queue;)V
        29: .line 221
            return
        end local 1 // java.nio.channels.Selector localSelector
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   30     0           this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            1   30     1  localSelector  Ljava/nio/channels/Selector;
            3   13     2           keys  [Ljava/nio/channels/SelectionKey;
            9   11     3   selectionKey  Ljava/nio/channels/SelectionKey;
           10   11     7     connection  Lorg/glassfish/grizzly/Connection;
      Exception table:
        from    to  target  type
           3     4       5  Class java.util.ConcurrentModificationException
           2    13      14  Class java.nio.channels.ClosedSelectorException
          15    16      17  Class java.lang.Exception
           2    15      18  any
          19    20      21  Class java.lang.Exception
          23    24      25  Class java.lang.Exception

  public void run();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 225
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.runnerThreadActivityCounter:Ljava/util/concurrent/atomic/AtomicInteger;
            iconst_0
            iconst_1
            invokevirtual java.util.concurrent.atomic.AtomicInteger.compareAndSet:(II)Z
            ifne 2
         1: .line 226
            return
         2: .line 229
      StackMap locals:
      StackMap stack:
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            astore 1 /* currentThread */
        start local 1 // java.lang.Thread currentThread
         3: .line 231
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.isResume:Z
            ifne 15
         4: .line 232
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.stateHolder:Ljava/util/concurrent/atomic/AtomicReference;
            getstatic org.glassfish.grizzly.Transport$State.STARTING:Lorg/glassfish/grizzly/Transport$State;
            getstatic org.glassfish.grizzly.Transport$State.STARTED:Lorg/glassfish/grizzly/Transport$State;
            invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifne 14
         5: .line 257
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.runnerThreadActivityCounter:Ljava/util/concurrent/atomic/AtomicInteger;
            iconst_1
            iconst_0
            invokevirtual java.util.concurrent.atomic.AtomicInteger.compareAndSet:(II)Z
            pop
         6: .line 259
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.isStop:()Z
            ifeq 11
         7: .line 260
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.stateHolder:Ljava/util/concurrent/atomic/AtomicReference;
            getstatic org.glassfish.grizzly.Transport$State.STOPPED:Lorg/glassfish/grizzly/Transport$State;
            invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
         8: .line 261
            aload 0 /* this */
            aconst_null
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.setRunnerThread:(Ljava/lang/Thread;)V
         9: .line 262
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.runnerThreadActivityCounter:Ljava/util/concurrent/atomic/AtomicInteger;
            iconst_0
            iconst_m1
            invokevirtual java.util.concurrent.atomic.AtomicInteger.compareAndSet:(II)Z
            ifeq 11
        10: .line 263
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.shutdownSelector:()V
        11: .line 267
      StackMap locals: java.lang.Thread
      StackMap stack:
            aload 0 /* this */
            aload 1 /* currentThread */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.removeThreadNameMarker:(Ljava/lang/Thread;)V
        12: .line 268
            iconst_0
            invokestatic org.glassfish.grizzly.threadpool.Threads.setService:(Z)V
        13: .line 233
            return
        14: .line 236
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* currentThread */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.addThreadNameMarker:(Ljava/lang/Thread;)V
        15: .line 239
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* currentThread */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.setRunnerThread:(Ljava/lang/Thread;)V
        16: .line 240
            iconst_1
            invokestatic org.glassfish.grizzly.threadpool.Threads.setService:(Z)V
        17: .line 242
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
            invokevirtual org.glassfish.grizzly.nio.NIOTransport.getState:()Lorg/glassfish/grizzly/utils/StateHolder;
            astore 2 /* transportStateHolder */
        start local 2 // org.glassfish.grizzly.utils.StateHolder transportStateHolder
        18: .line 244
            iconst_0
            istore 3 /* isSkipping */
        start local 3 // boolean isSkipping
        19: .line 246
            goto 28
        20: .line 247
      StackMap locals: org.glassfish.grizzly.utils.StateHolder int
      StackMap stack:
            aload 2 /* transportStateHolder */
            invokevirtual org.glassfish.grizzly.utils.StateHolder.getState:()Ljava/lang/Object;
            getstatic org.glassfish.grizzly.Transport$State.PAUSED:Lorg/glassfish/grizzly/Transport$State;
            if_acmpeq 25
        21: .line 248
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.doSelect:()Z
            ifeq 22
            iconst_0
            goto 23
      StackMap locals:
      StackMap stack:
        22: iconst_1
      StackMap locals:
      StackMap stack: int
        23: istore 3 /* isSkipping */
        24: .line 249
            goto 28
        25: .line 251
      StackMap locals:
      StackMap stack:
            aload 2 /* transportStateHolder */
            getstatic org.glassfish.grizzly.Transport$State.PAUSED:Lorg/glassfish/grizzly/Transport$State;
            aconst_null
            invokevirtual org.glassfish.grizzly.utils.StateHolder.notifyWhenStateIsNotEqual:(Ljava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler;)Ljava/util/concurrent/Future;
            ldc 5000
            getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
            invokeinterface java.util.concurrent.Future.get:(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
            pop
        26: .line 252
            goto 28
      StackMap locals:
      StackMap stack: java.lang.Exception
        27: pop
        28: .line 246
      StackMap locals:
      StackMap stack:
            iload 3 /* isSkipping */
            ifne 40
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.isStop:()Z
            ifeq 20
        end local 3 // boolean isSkipping
        end local 2 // org.glassfish.grizzly.utils.StateHolder transportStateHolder
        29: .line 256
            goto 40
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.lang.Thread
      StackMap stack: java.lang.Throwable
        30: astore 4
        31: .line 257
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.runnerThreadActivityCounter:Ljava/util/concurrent/atomic/AtomicInteger;
            iconst_1
            iconst_0
            invokevirtual java.util.concurrent.atomic.AtomicInteger.compareAndSet:(II)Z
            pop
        32: .line 259
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.isStop:()Z
            ifeq 37
        33: .line 260
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.stateHolder:Ljava/util/concurrent/atomic/AtomicReference;
            getstatic org.glassfish.grizzly.Transport$State.STOPPED:Lorg/glassfish/grizzly/Transport$State;
            invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
        34: .line 261
            aload 0 /* this */
            aconst_null
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.setRunnerThread:(Ljava/lang/Thread;)V
        35: .line 262
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.runnerThreadActivityCounter:Ljava/util/concurrent/atomic/AtomicInteger;
            iconst_0
            iconst_m1
            invokevirtual java.util.concurrent.atomic.AtomicInteger.compareAndSet:(II)Z
            ifeq 37
        36: .line 263
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.shutdownSelector:()V
        37: .line 267
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.lang.Thread top top java.lang.Throwable
      StackMap stack:
            aload 0 /* this */
            aload 1 /* currentThread */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.removeThreadNameMarker:(Ljava/lang/Thread;)V
        38: .line 268
            iconst_0
            invokestatic org.glassfish.grizzly.threadpool.Threads.setService:(Z)V
        39: .line 269
            aload 4
            athrow
        40: .line 257
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.lang.Thread
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.runnerThreadActivityCounter:Ljava/util/concurrent/atomic/AtomicInteger;
            iconst_1
            iconst_0
            invokevirtual java.util.concurrent.atomic.AtomicInteger.compareAndSet:(II)Z
            pop
        41: .line 259
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.isStop:()Z
            ifeq 46
        42: .line 260
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.stateHolder:Ljava/util/concurrent/atomic/AtomicReference;
            getstatic org.glassfish.grizzly.Transport$State.STOPPED:Lorg/glassfish/grizzly/Transport$State;
            invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
        43: .line 261
            aload 0 /* this */
            aconst_null
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.setRunnerThread:(Ljava/lang/Thread;)V
        44: .line 262
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.runnerThreadActivityCounter:Ljava/util/concurrent/atomic/AtomicInteger;
            iconst_0
            iconst_m1
            invokevirtual java.util.concurrent.atomic.AtomicInteger.compareAndSet:(II)Z
            ifeq 46
        45: .line 263
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.shutdownSelector:()V
        46: .line 267
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* currentThread */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.removeThreadNameMarker:(Ljava/lang/Thread;)V
        47: .line 268
            iconst_0
            invokestatic org.glassfish.grizzly.threadpool.Threads.setService:(Z)V
        48: .line 270
            return
        end local 1 // java.lang.Thread currentThread
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0   49     0                  this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            3   49     1         currentThread  Ljava/lang/Thread;
           18   29     2  transportStateHolder  Lorg/glassfish/grizzly/utils/StateHolder<Lorg/glassfish/grizzly/Transport$State;>;
           19   29     3            isSkipping  Z
      Exception table:
        from    to  target  type
          25    26      27  Class java.lang.Exception
           3     5      30  any
          14    30      30  any

  protected boolean doSelect();
    descriptor: ()Z
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=6, locals=3, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 279
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
            invokevirtual org.glassfish.grizzly.nio.NIOTransport.getSelectorHandler:()Lorg/glassfish/grizzly/nio/SelectorHandler;
            astore 1 /* selectorHandler */
        start local 1 // org.glassfish.grizzly.nio.SelectorHandler selectorHandler
         1: .line 283
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.isResume:Z
            ifeq 10
         2: .line 285
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.nio.SelectorRunner.isResume:Z
         3: .line 288
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.readyKeySet:Ljava/util/Set;
            ifnull 10
         4: .line 289
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.keyReadyOps:I
            ifeq 7
         5: .line 290
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.iterateKeyEvents:()Z
            ifne 7
         6: .line 291
            iconst_0
            ireturn
         7: .line 295
      StackMap locals: org.glassfish.grizzly.nio.SelectorHandler
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.iterateKeys:()Z
            ifne 9
         8: .line 296
            iconst_0
            ireturn
         9: .line 298
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.readyKeySet:Ljava/util/Set;
            invokeinterface java.util.Set.clear:()V
        10: .line 302
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.nio.SelectorRunner.lastSelectedKeysCount:I
        11: .line 304
            aload 1 /* selectorHandler */
            aload 0 /* this */
            invokeinterface org.glassfish.grizzly.nio.SelectorHandler.preSelect:(Lorg/glassfish/grizzly/nio/SelectorRunner;)Z
            ifne 13
        12: .line 305
            iconst_0
            ireturn
        13: .line 308
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* selectorHandler */
            aload 0 /* this */
            invokeinterface org.glassfish.grizzly.nio.SelectorHandler.select:(Lorg/glassfish/grizzly/nio/SelectorRunner;)Ljava/util/Set;
            putfield org.glassfish.grizzly.nio.SelectorRunner.readyKeySet:Ljava/util/Set;
        14: .line 309
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.selectorWakeupFlag:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_0
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
        15: .line 311
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.stateHolder:Ljava/util/concurrent/atomic/AtomicReference;
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            getstatic org.glassfish.grizzly.Transport$State.STOPPING:Lorg/glassfish/grizzly/Transport$State;
            if_acmpne 17
        16: .line 312
            iconst_1
            ireturn
        17: .line 315
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.readyKeySet:Ljava/util/Set;
            invokeinterface java.util.Set.size:()I
            putfield org.glassfish.grizzly.nio.SelectorRunner.lastSelectedKeysCount:I
        18: .line 317
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.lastSelectedKeysCount:I
            ifeq 23
        19: .line 318
            aload 0 /* this */
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.readyKeySet:Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            putfield org.glassfish.grizzly.nio.SelectorRunner.iterator:Ljava/util/Iterator;
        20: .line 319
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.iterateKeys:()Z
            ifne 22
        21: .line 320
            iconst_0
            ireturn
        22: .line 322
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.readyKeySet:Ljava/util/Set;
            invokeinterface java.util.Set.clear:()V
        23: .line 325
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield org.glassfish.grizzly.nio.SelectorRunner.readyKeySet:Ljava/util/Set;
        24: .line 326
            aload 0 /* this */
            aconst_null
            putfield org.glassfish.grizzly.nio.SelectorRunner.iterator:Ljava/util/Iterator;
        25: .line 327
            aload 1 /* selectorHandler */
            aload 0 /* this */
            invokeinterface org.glassfish.grizzly.nio.SelectorHandler.postSelect:(Lorg/glassfish/grizzly/nio/SelectorRunner;)V
        26: .line 328
            goto 39
      StackMap locals:
      StackMap stack: java.nio.channels.ClosedSelectorException
        27: astore 2 /* e */
        start local 2 // java.nio.channels.ClosedSelectorException e
        28: .line 329
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.isRunning:()Z
            ifeq 31
        29: .line 330
            aload 1 /* selectorHandler */
            aload 0 /* this */
            invokeinterface org.glassfish.grizzly.nio.SelectorHandler.onSelectorClosed:(Lorg/glassfish/grizzly/nio/SelectorRunner;)Z
            ifeq 31
        30: .line 331
            iconst_1
            ireturn
        31: .line 335
      StackMap locals: java.nio.channels.ClosedSelectorException
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.key:Ljava/nio/channels/SelectionKey;
            ldc "Selector was unexpectedly closed"
            aload 2 /* e */
            getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
            getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.dropConnectionDueToException:(Ljava/nio/channels/SelectionKey;Ljava/lang/String;Ljava/lang/Exception;Ljava/util/logging/Level;Ljava/util/logging/Level;)V
        end local 2 // java.nio.channels.ClosedSelectorException e
        32: goto 39
        33: .line 336
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner org.glassfish.grizzly.nio.SelectorHandler
      StackMap stack: java.lang.Exception
            astore 2 /* e */
        start local 2 // java.lang.Exception e
        34: .line 337
            aload 0 /* this */
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.key:Ljava/nio/channels/SelectionKey;
            ldc "doSelect exception"
            aload 2 /* e */
            getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
            getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.dropConnectionDueToException:(Ljava/nio/channels/SelectionKey;Ljava/lang/String;Ljava/lang/Exception;Ljava/util/logging/Level;Ljava/util/logging/Level;)V
        end local 2 // java.lang.Exception e
        35: goto 39
        36: .line 338
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 2 /* t */
        start local 2 // java.lang.Throwable t
        37: .line 339
            getstatic org.glassfish.grizzly.nio.SelectorRunner.LOGGER:Ljava/util/logging/Logger;
            getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
            ldc "doSelect exception"
            aload 2 /* t */
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
        38: .line 340
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
            aload 2 /* t */
            invokevirtual org.glassfish.grizzly.nio.NIOTransport.notifyTransportError:(Ljava/lang/Throwable;)V
        end local 2 // java.lang.Throwable t
        39: .line 343
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 1 // org.glassfish.grizzly.nio.SelectorHandler selectorHandler
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   40     0             this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            1   40     1  selectorHandler  Lorg/glassfish/grizzly/nio/SelectorHandler;
           28   32     2                e  Ljava/nio/channels/ClosedSelectorException;
           34   35     2                e  Ljava/lang/Exception;
           37   39     2                t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           1     6      27  Class java.nio.channels.ClosedSelectorException
           7     8      27  Class java.nio.channels.ClosedSelectorException
           9    12      27  Class java.nio.channels.ClosedSelectorException
          13    16      27  Class java.nio.channels.ClosedSelectorException
          17    21      27  Class java.nio.channels.ClosedSelectorException
          22    26      27  Class java.nio.channels.ClosedSelectorException
           1     6      33  Class java.lang.Exception
           7     8      33  Class java.lang.Exception
           9    12      33  Class java.lang.Exception
          13    16      33  Class java.lang.Exception
          17    21      33  Class java.lang.Exception
          22    26      33  Class java.lang.Exception
           1     6      36  Class java.lang.Throwable
           7     8      36  Class java.lang.Throwable
           9    12      36  Class java.lang.Throwable
          13    16      36  Class java.lang.Throwable
          17    21      36  Class java.lang.Throwable
          22    26      36  Class java.lang.Throwable

  private boolean iterateKeys();
    descriptor: ()Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=3, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 347
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.iterator:Ljava/util/Iterator;
            astore 1 /* it */
        start local 1 // java.util.Iterator it
         1: .line 349
            goto 13
         2: .line 351
      StackMap locals: java.util.Iterator
      StackMap stack:
            aload 0 /* this */
            aload 1 /* it */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.nio.channels.SelectionKey
            putfield org.glassfish.grizzly.nio.SelectorRunner.key:Ljava/nio/channels/SelectionKey;
         3: .line 352
            aload 0 /* this */
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.key:Ljava/nio/channels/SelectionKey;
            invokevirtual java.nio.channels.SelectionKey.readyOps:()I
            putfield org.glassfish.grizzly.nio.SelectorRunner.keyReadyOps:I
         4: .line 353
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.iterateKeyEvents:()Z
            ifne 13
         5: .line 354
            iconst_0
            ireturn
         6: .line 356
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 2 /* e */
        start local 2 // java.io.IOException e
         7: .line 357
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.nio.SelectorRunner.keyReadyOps:I
         8: .line 358
            aload 0 /* this */
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.key:Ljava/nio/channels/SelectionKey;
            new java.lang.StringBuilder
            dup
            ldc "Unexpected IOException. Channel "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.key:Ljava/nio/channels/SelectionKey;
            invokevirtual java.nio.channels.SelectionKey.channel:()Ljava/nio/channels/SelectableChannel;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " will be closed."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 2 /* e */
            getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
            getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.dropConnectionDueToException:(Ljava/nio/channels/SelectionKey;Ljava/lang/String;Ljava/lang/Exception;Ljava/util/logging/Level;Ljava/util/logging/Level;)V
        end local 2 // java.io.IOException e
         9: goto 13
        10: .line 359
      StackMap locals:
      StackMap stack: java.nio.channels.CancelledKeyException
            astore 2 /* e */
        start local 2 // java.nio.channels.CancelledKeyException e
        11: .line 360
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.nio.SelectorRunner.keyReadyOps:I
        12: .line 361
            aload 0 /* this */
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.key:Ljava/nio/channels/SelectionKey;
            new java.lang.StringBuilder
            dup
            ldc "Unexpected CancelledKeyException. Channel "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.key:Ljava/nio/channels/SelectionKey;
            invokevirtual java.nio.channels.SelectionKey.channel:()Ljava/nio/channels/SelectableChannel;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " will be closed."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 2 /* e */
            getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
            getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.dropConnectionDueToException:(Ljava/nio/channels/SelectionKey;Ljava/lang/String;Ljava/lang/Exception;Ljava/util/logging/Level;Ljava/util/logging/Level;)V
        end local 2 // java.nio.channels.CancelledKeyException e
        13: .line 349
      StackMap locals:
      StackMap stack:
            aload 1 /* it */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
        14: .line 364
            iconst_1
            ireturn
        end local 1 // java.util.Iterator it
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   15     0  this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            1   15     1    it  Ljava/util/Iterator<Ljava/nio/channels/SelectionKey;>;
            7    9     2     e  Ljava/io/IOException;
           11   13     2     e  Ljava/nio/channels/CancelledKeyException;
      Exception table:
        from    to  target  type
           2     5       6  Class java.io.IOException
           2     5      10  Class java.nio.channels.CancelledKeyException

  private boolean iterateKeyEvents();
    descriptor: ()Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=11, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 369
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.key:Ljava/nio/channels/SelectionKey;
            astore 1 /* keyLocal */
        start local 1 // java.nio.channels.SelectionKey keyLocal
         1: .line 370
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
            invokevirtual org.glassfish.grizzly.nio.NIOTransport.getSelectionKeyHandler:()Lorg/glassfish/grizzly/nio/SelectionKeyHandler;
            astore 2 /* selectionKeyHandler */
        start local 2 // org.glassfish.grizzly.nio.SelectionKeyHandler selectionKeyHandler
         2: .line 371
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
            invokevirtual org.glassfish.grizzly.nio.NIOTransport.getIOStrategy:()Lorg/glassfish/grizzly/IOStrategy;
            astore 3 /* ioStrategy */
        start local 3 // org.glassfish.grizzly.IOStrategy ioStrategy
         3: .line 372
            aload 2 /* selectionKeyHandler */
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.keyReadyOps:I
            invokeinterface org.glassfish.grizzly.nio.SelectionKeyHandler.getIOEvents:(I)[Lorg/glassfish/grizzly/IOEvent;
            astore 4 /* ioEvents */
        start local 4 // org.glassfish.grizzly.IOEvent[] ioEvents
         4: .line 373
            aload 2 /* selectionKeyHandler */
            aload 1 /* keyLocal */
            invokeinterface org.glassfish.grizzly.nio.SelectionKeyHandler.getConnectionForKey:(Ljava/nio/channels/SelectionKey;)Lorg/glassfish/grizzly/nio/NIOConnection;
            astore 5 /* connection */
        start local 5 // org.glassfish.grizzly.nio.NIOConnection connection
         5: .line 375
            aload 4 /* ioEvents */
            dup
            astore 9
            arraylength
            istore 8
            iconst_0
            istore 7
            goto 14
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.nio.channels.SelectionKey org.glassfish.grizzly.nio.SelectionKeyHandler org.glassfish.grizzly.IOStrategy org.glassfish.grizzly.IOEvent[] org.glassfish.grizzly.nio.NIOConnection top int int org.glassfish.grizzly.IOEvent[]
      StackMap stack:
         6: aload 9
            iload 7
            aaload
            astore 6 /* ioEvent */
        start local 6 // org.glassfish.grizzly.IOEvent ioEvent
         7: .line 376
            aload 5 /* connection */
            aload 6 /* ioEvent */
            invokestatic org.glassfish.grizzly.nio.NIOConnection.notifyIOEventReady:(Lorg/glassfish/grizzly/nio/NIOConnection;Lorg/glassfish/grizzly/IOEvent;)V
         8: .line 378
            aload 6 /* ioEvent */
            invokevirtual org.glassfish.grizzly.IOEvent.getSelectionKeyInterest:()I
            istore 10 /* interest */
        start local 10 // int interest
         9: .line 379
            aload 0 /* this */
            dup
            getfield org.glassfish.grizzly.nio.SelectorRunner.keyReadyOps:I
            iload 10 /* interest */
            iconst_m1
            ixor
            iand
            putfield org.glassfish.grizzly.nio.SelectorRunner.keyReadyOps:I
        10: .line 380
            aload 2 /* selectionKeyHandler */
            aload 1 /* keyLocal */
            iload 10 /* interest */
            invokeinterface org.glassfish.grizzly.nio.SelectionKeyHandler.onProcessInterest:(Ljava/nio/channels/SelectionKey;I)Z
            ifeq 13
        11: .line 381
            aload 3 /* ioStrategy */
            aload 5 /* connection */
            aload 6 /* ioEvent */
            invokeinterface org.glassfish.grizzly.IOStrategy.executeIoEvent:(Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/IOEvent;)Z
            ifne 13
        12: .line 382
            iconst_0
            ireturn
        end local 10 // int interest
        end local 6 // org.glassfish.grizzly.IOEvent ioEvent
        13: .line 375
      StackMap locals:
      StackMap stack:
            iinc 7 1
      StackMap locals:
      StackMap stack:
        14: iload 7
            iload 8
            if_icmplt 6
        15: .line 387
            iconst_1
            ireturn
        end local 5 // org.glassfish.grizzly.nio.NIOConnection connection
        end local 4 // org.glassfish.grizzly.IOEvent[] ioEvents
        end local 3 // org.glassfish.grizzly.IOStrategy ioStrategy
        end local 2 // org.glassfish.grizzly.nio.SelectionKeyHandler selectionKeyHandler
        end local 1 // java.nio.channels.SelectionKey keyLocal
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0   16     0                 this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            1   16     1             keyLocal  Ljava/nio/channels/SelectionKey;
            2   16     2  selectionKeyHandler  Lorg/glassfish/grizzly/nio/SelectionKeyHandler;
            3   16     3           ioStrategy  Lorg/glassfish/grizzly/IOStrategy;
            4   16     4             ioEvents  [Lorg/glassfish/grizzly/IOEvent;
            5   16     5           connection  Lorg/glassfish/grizzly/nio/NIOConnection;
            7   13     6              ioEvent  Lorg/glassfish/grizzly/IOEvent;
            9   13    10             interest  I
    Exceptions:
      throws java.io.IOException

  public java.util.Queue<org.glassfish.grizzly.nio.SelectorHandlerTask> getPendingTasks();
    descriptor: ()Ljava/util/Queue;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 391
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.nio.SelectorRunner.hasPendingTasks:Z
         1: .line 392
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.pendingTasks:Ljava/util/Queue;
            areturn
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/glassfish/grizzly/nio/SelectorRunner;
    Signature: ()Ljava/util/Queue<Lorg/glassfish/grizzly/nio/SelectorHandlerTask;>;

  public java.util.Queue<org.glassfish.grizzly.nio.SelectorHandlerTask> getPostponedTasks();
    descriptor: ()Ljava/util/Queue;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 396
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.currentPostponedTasks:Ljava/util/Queue;
            areturn
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/nio/SelectorRunner;
    Signature: ()Ljava/util/Queue<Lorg/glassfish/grizzly/nio/SelectorHandlerTask;>;

  public java.util.Queue<org.glassfish.grizzly.nio.SelectorHandlerTask> obtainPostponedTasks();
    descriptor: ()Ljava/util/Queue;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 400
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.currentPostponedTasks:Ljava/util/Queue;
            astore 1 /* tasksToReturn */
        start local 1 // java.util.Queue tasksToReturn
         1: .line 401
            aload 0 /* this */
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.currentPostponedTasks:Ljava/util/Queue;
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.evenPostponedTasks:Ljava/util/Queue;
            if_acmpne 2
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.oddPostponedTasks:Ljava/util/Queue;
            goto 3
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.util.Queue
      StackMap stack: org.glassfish.grizzly.nio.SelectorRunner
         2: aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.evenPostponedTasks:Ljava/util/Queue;
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.util.Queue
      StackMap stack: org.glassfish.grizzly.nio.SelectorRunner java.util.Queue
         3: putfield org.glassfish.grizzly.nio.SelectorRunner.currentPostponedTasks:Ljava/util/Queue;
         4: .line 402
            aload 1 /* tasksToReturn */
            areturn
        end local 1 // java.util.Queue tasksToReturn
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    5     0           this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            1    5     1  tasksToReturn  Ljava/util/Queue<Lorg/glassfish/grizzly/nio/SelectorHandlerTask;>;
    Signature: ()Ljava/util/Queue<Lorg/glassfish/grizzly/nio/SelectorHandlerTask;>;

  boolean isStop();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 406
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.stateHolder:Ljava/util/concurrent/atomic/AtomicReference;
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast org.glassfish.grizzly.Transport$State
            astore 1 /* state */
        start local 1 // org.glassfish.grizzly.Transport$State state
         1: .line 408
            aload 1 /* state */
            getstatic org.glassfish.grizzly.Transport$State.STOPPED:Lorg/glassfish/grizzly/Transport$State;
            if_acmpeq 2
            aload 1 /* state */
            getstatic org.glassfish.grizzly.Transport$State.STOPPING:Lorg/glassfish/grizzly/Transport$State;
            if_acmpeq 2
            iconst_0
            ireturn
      StackMap locals: org.glassfish.grizzly.Transport$State
      StackMap stack:
         2: iconst_1
            ireturn
        end local 1 // org.glassfish.grizzly.Transport$State state
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            1    3     1  state  Lorg/glassfish/grizzly/Transport$State;

  private boolean isRunning();
    descriptor: ()Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 412
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.stateHolder:Ljava/util/concurrent/atomic/AtomicReference;
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            getstatic org.glassfish.grizzly.Transport$State.STARTED:Lorg/glassfish/grizzly/Transport$State;
            if_acmpne 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/glassfish/grizzly/nio/SelectorRunner;

  private void dropConnectionDueToException(java.nio.channels.SelectionKey, java.lang.String, java.lang.Exception, java.util.logging.Level, java.util.logging.Level);
    descriptor: (Ljava/nio/channels/SelectionKey;Ljava/lang/String;Ljava/lang/Exception;Ljava/util/logging/Level;Ljava/util/logging/Level;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=8, args_size=6
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
        start local 1 // java.nio.channels.SelectionKey key
        start local 2 // java.lang.String description
        start local 3 // java.lang.Exception e
        start local 4 // java.util.logging.Level runLogLevel
        start local 5 // java.util.logging.Level stoppedLogLevel
         0: .line 426
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.isRunning:()Z
            ifeq 15
         1: .line 427
            getstatic org.glassfish.grizzly.nio.SelectorRunner.LOGGER:Ljava/util/logging/Logger;
            aload 4 /* runLogLevel */
            aload 2 /* description */
            aload 3 /* e */
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
         2: .line 429
            aload 1 /* key */
            ifnull 13
         3: .line 431
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
            invokevirtual org.glassfish.grizzly.nio.NIOTransport.getSelectionKeyHandler:()Lorg/glassfish/grizzly/nio/SelectionKeyHandler;
            aload 1 /* key */
            invokeinterface org.glassfish.grizzly.nio.SelectionKeyHandler.getConnectionForKey:(Ljava/nio/channels/SelectionKey;)Lorg/glassfish/grizzly/nio/NIOConnection;
            astore 6 /* connection */
        start local 6 // org.glassfish.grizzly.Connection connection
         4: .line 433
            aload 6 /* connection */
            ifnull 7
         5: .line 434
            aload 6 /* connection */
            invokeinterface org.glassfish.grizzly.Connection.closeSilently:()V
         6: .line 435
            goto 13
         7: .line 436
      StackMap locals: org.glassfish.grizzly.Connection
      StackMap stack:
            aload 1 /* key */
            invokevirtual java.nio.channels.SelectionKey.channel:()Ljava/nio/channels/SelectableChannel;
            astore 7 /* channel */
        start local 7 // java.nio.channels.SelectableChannel channel
         8: .line 437
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
            invokevirtual org.glassfish.grizzly.nio.NIOTransport.getSelectionKeyHandler:()Lorg/glassfish/grizzly/nio/SelectionKeyHandler;
            aload 1 /* key */
            invokeinterface org.glassfish.grizzly.nio.SelectionKeyHandler.cancel:(Ljava/nio/channels/SelectionKey;)V
         9: .line 438
            aload 7 /* channel */
            invokevirtual java.nio.channels.SelectableChannel.close:()V
        end local 7 // java.nio.channels.SelectableChannel channel
        end local 6 // org.glassfish.grizzly.Connection connection
        10: .line 440
            goto 13
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.nio.channels.SelectionKey java.lang.String java.lang.Exception java.util.logging.Level java.util.logging.Level
      StackMap stack: java.io.IOException
        11: astore 6 /* cancelException */
        start local 6 // java.io.IOException cancelException
        12: .line 441
            getstatic org.glassfish.grizzly.nio.SelectorRunner.LOGGER:Ljava/util/logging/Logger;
            getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
            ldc "IOException during cancelling key"
            aload 6 /* cancelException */
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 6 // java.io.IOException cancelException
        13: .line 445
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
            aload 3 /* e */
            invokevirtual org.glassfish.grizzly.nio.NIOTransport.notifyTransportError:(Ljava/lang/Throwable;)V
        14: .line 446
            goto 16
        15: .line 447
      StackMap locals:
      StackMap stack:
            getstatic org.glassfish.grizzly.nio.SelectorRunner.LOGGER:Ljava/util/logging/Logger;
            aload 5 /* stoppedLogLevel */
            aload 2 /* description */
            aload 3 /* e */
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
        16: .line 449
      StackMap locals:
      StackMap stack:
            return
        end local 5 // java.util.logging.Level stoppedLogLevel
        end local 4 // java.util.logging.Level runLogLevel
        end local 3 // java.lang.Exception e
        end local 2 // java.lang.String description
        end local 1 // java.nio.channels.SelectionKey key
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   17     0             this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            0   17     1              key  Ljava/nio/channels/SelectionKey;
            0   17     2      description  Ljava/lang/String;
            0   17     3                e  Ljava/lang/Exception;
            0   17     4      runLogLevel  Ljava/util/logging/Level;
            0   17     5  stoppedLogLevel  Ljava/util/logging/Level;
            4   10     6       connection  Lorg/glassfish/grizzly/Connection;
            8   10     7          channel  Ljava/nio/channels/SelectableChannel;
           12   13     6  cancelException  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           3    10      11  Class java.io.IOException
    MethodParameters:
                 Name  Flags
      key              final
      description      final
      e                final
      runLogLevel      final
      stoppedLogLevel  final

  public int getLastSelectedKeysCount();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 457
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.lastSelectedKeysCount:I
            ireturn
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/nio/SelectorRunner;

  protected void switchToNewSelector();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=9, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 461
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.selector:Ljava/nio/channels/Selector;
            astore 1 /* oldSelector */
        start local 1 // java.nio.channels.Selector oldSelector
         1: .line 462
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
            invokevirtual org.glassfish.grizzly.nio.NIOTransport.getSelectorProvider:()Ljava/nio/channels/spi/SelectorProvider;
            invokestatic org.glassfish.grizzly.nio.Selectors.newSelector:(Ljava/nio/channels/spi/SelectorProvider;)Ljava/nio/channels/Selector;
            astore 2 /* newSelector */
        start local 2 // java.nio.channels.Selector newSelector
         2: .line 464
            aload 1 /* oldSelector */
            invokevirtual java.nio.channels.Selector.keys:()Ljava/util/Set;
            astore 3 /* keys */
        start local 3 // java.util.Set keys
         3: .line 465
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
            invokevirtual org.glassfish.grizzly.nio.NIOTransport.getSelectionKeyHandler:()Lorg/glassfish/grizzly/nio/SelectionKeyHandler;
            astore 4 /* selectionKeyHandler */
        start local 4 // org.glassfish.grizzly.nio.SelectionKeyHandler selectionKeyHandler
         4: .line 467
            aload 3 /* keys */
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 6
            goto 13
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.nio.channels.Selector java.nio.channels.Selector java.util.Set org.glassfish.grizzly.nio.SelectionKeyHandler top java.util.Iterator
      StackMap stack:
         5: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.nio.channels.SelectionKey
            astore 5 /* selectionKey */
        start local 5 // java.nio.channels.SelectionKey selectionKey
         6: .line 468
            aload 5 /* selectionKey */
            invokevirtual java.nio.channels.SelectionKey.isValid:()Z
            ifeq 13
         7: .line 470
            aload 4 /* selectionKeyHandler */
            aload 5 /* selectionKey */
            invokeinterface org.glassfish.grizzly.nio.SelectionKeyHandler.getConnectionForKey:(Ljava/nio/channels/SelectionKey;)Lorg/glassfish/grizzly/nio/NIOConnection;
            astore 7 /* nioConnection */
        start local 7 // org.glassfish.grizzly.nio.NIOConnection nioConnection
         8: .line 471
            aload 5 /* selectionKey */
            invokevirtual java.nio.channels.SelectionKey.channel:()Ljava/nio/channels/SelectableChannel;
            aload 2 /* newSelector */
            aload 5 /* selectionKey */
            invokevirtual java.nio.channels.SelectionKey.interestOps:()I
            aload 5 /* selectionKey */
            invokevirtual java.nio.channels.SelectionKey.attachment:()Ljava/lang/Object;
            invokevirtual java.nio.channels.SelectableChannel.register:(Ljava/nio/channels/Selector;ILjava/lang/Object;)Ljava/nio/channels/SelectionKey;
            astore 8 /* newSelectionKey */
        start local 8 // java.nio.channels.SelectionKey newSelectionKey
         9: .line 473
            aload 7 /* nioConnection */
            aload 8 /* newSelectionKey */
            invokevirtual org.glassfish.grizzly.nio.NIOConnection.onSelectionKeyUpdated:(Ljava/nio/channels/SelectionKey;)V
        end local 8 // java.nio.channels.SelectionKey newSelectionKey
        end local 7 // org.glassfish.grizzly.nio.NIOConnection nioConnection
        10: .line 474
            goto 13
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.nio.channels.Selector java.nio.channels.Selector java.util.Set org.glassfish.grizzly.nio.SelectionKeyHandler java.nio.channels.SelectionKey java.util.Iterator
      StackMap stack: java.lang.Exception
        11: astore 7 /* e */
        start local 7 // java.lang.Exception e
        12: .line 475
            getstatic org.glassfish.grizzly.nio.SelectorRunner.LOGGER:Ljava/util/logging/Logger;
            getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
            ldc "Error switching channel to a new selector"
            aload 7 /* e */
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 7 // java.lang.Exception e
        end local 5 // java.nio.channels.SelectionKey selectionKey
        13: .line 467
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.nio.channels.Selector java.nio.channels.Selector java.util.Set org.glassfish.grizzly.nio.SelectionKeyHandler top java.util.Iterator
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 5
        14: .line 480
            aload 0 /* this */
            aload 2 /* newSelector */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.setSelector:(Ljava/nio/channels/Selector;)V
        15: .line 483
            aload 1 /* oldSelector */
            invokevirtual java.nio.channels.Selector.close:()V
        16: .line 484
            goto 18
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.nio.channels.Selector java.nio.channels.Selector java.util.Set org.glassfish.grizzly.nio.SelectionKeyHandler
      StackMap stack: java.lang.Exception
        17: pop
        18: .line 486
      StackMap locals:
      StackMap stack:
            return
        end local 4 // org.glassfish.grizzly.nio.SelectionKeyHandler selectionKeyHandler
        end local 3 // java.util.Set keys
        end local 2 // java.nio.channels.Selector newSelector
        end local 1 // java.nio.channels.Selector oldSelector
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0   19     0                 this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            1   19     1          oldSelector  Ljava/nio/channels/Selector;
            2   19     2          newSelector  Ljava/nio/channels/Selector;
            3   19     3                 keys  Ljava/util/Set<Ljava/nio/channels/SelectionKey;>;
            4   19     4  selectionKeyHandler  Lorg/glassfish/grizzly/nio/SelectionKeyHandler;
            6   13     5         selectionKey  Ljava/nio/channels/SelectionKey;
            8   10     7        nioConnection  Lorg/glassfish/grizzly/nio/NIOConnection;
            9   10     8      newSelectionKey  Ljava/nio/channels/SelectionKey;
           12   13     7                    e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           7    10      11  Class java.lang.Exception
          15    16      17  Class java.lang.Exception
    Exceptions:
      throws java.io.IOException

  private void abortTasksInQueue(java.util.Queue<org.glassfish.grizzly.nio.SelectorHandlerTask>);
    descriptor: (Ljava/util/Queue;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
        start local 1 // java.util.Queue taskQueue
         0: .line 490
            goto 4
        start local 2 // org.glassfish.grizzly.nio.SelectorHandlerTask task
         1: .line 492
      StackMap locals: org.glassfish.grizzly.nio.SelectorHandlerTask
      StackMap stack:
            aload 2 /* task */
            invokeinterface org.glassfish.grizzly.nio.SelectorHandlerTask.cancel:()V
         2: .line 493
            goto 4
      StackMap locals:
      StackMap stack: java.lang.Exception
         3: pop
        end local 2 // org.glassfish.grizzly.nio.SelectorHandlerTask task
         4: .line 490
      StackMap locals:
      StackMap stack:
            aload 1 /* taskQueue */
            invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
            checkcast org.glassfish.grizzly.nio.SelectorHandlerTask
            dup
            astore 2 /* task */
        start local 2 // org.glassfish.grizzly.nio.SelectorHandlerTask task
         5: ifnonnull 1
         6: .line 496
            return
        end local 2 // org.glassfish.grizzly.nio.SelectorHandlerTask task
        end local 1 // java.util.Queue taskQueue
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    7     0       this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            0    7     1  taskQueue  Ljava/util/Queue<Lorg/glassfish/grizzly/nio/SelectorHandlerTask;>;
            1    4     2       task  Lorg/glassfish/grizzly/nio/SelectorHandlerTask;
            5    7     2       task  Lorg/glassfish/grizzly/nio/SelectorHandlerTask;
      Exception table:
        from    to  target  type
           1     2       3  Class java.lang.Exception
    Signature: (Ljava/util/Queue<Lorg/glassfish/grizzly/nio/SelectorHandlerTask;>;)V
    MethodParameters:
           Name  Flags
      taskQueue  final

  void resetSpinCounter();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 506
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.nio.SelectorRunner.emptySpinCounter:I
         1: .line 507
            return
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/glassfish/grizzly/nio/SelectorRunner;

  int incSpinCounter();
    descriptor: ()I
    flags: (0x0000) 
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 515
            aload 0 /* this */
            dup
            getfield org.glassfish.grizzly.nio.SelectorRunner.emptySpinCounter:I
            dup_x1
            iconst_1
            iadd
            putfield org.glassfish.grizzly.nio.SelectorRunner.emptySpinCounter:I
            ifne 3
         1: .line 516
            aload 0 /* this */
            invokestatic java.lang.System.nanoTime:()J
            putfield org.glassfish.grizzly.nio.SelectorRunner.lastSpinTimestamp:J
         2: .line 517
            goto 8
      StackMap locals:
      StackMap stack:
         3: aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.emptySpinCounter:I
            sipush 1000
            if_icmpne 8
         4: .line 518
            invokestatic java.lang.System.nanoTime:()J
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.lastSpinTimestamp:J
            lsub
            lstore 1 /* deltatime */
        start local 1 // long deltatime
         5: .line 519
            ldc 1000000000000
            lload 1 /* deltatime */
            ldiv
            l2i
            istore 3 /* contspinspersec */
        start local 3 // int contspinspersec
         6: .line 520
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.nio.SelectorRunner.emptySpinCounter:I
         7: .line 521
            iload 3 /* contspinspersec */
            ireturn
        end local 3 // int contspinspersec
        end local 1 // long deltatime
         8: .line 524
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    9     0             this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            5    8     1        deltatime  J
            6    8     3  contspinspersec  I

  java.nio.channels.SelectionKey checkIfSpinnedKey(java.nio.channels.SelectionKey);
    descriptor: (Ljava/nio/channels/SelectionKey;)Ljava/nio/channels/SelectionKey;
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
        start local 1 // java.nio.channels.SelectionKey key
         0: .line 528
            aload 1 /* key */
            invokevirtual java.nio.channels.SelectionKey.isValid:()Z
            ifne 4
            aload 1 /* key */
            invokevirtual java.nio.channels.SelectionKey.channel:()Ljava/nio/channels/SelectableChannel;
            invokevirtual java.nio.channels.SelectableChannel.isOpen:()Z
            ifeq 4
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.spinnedSelectorsHistory:Ljava/util/Map;
            aload 1 /* key */
            invokevirtual java.nio.channels.SelectionKey.selector:()Ljava/nio/channels/Selector;
            invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
            ifeq 4
         1: .line 529
            aload 1 /* key */
            invokevirtual java.nio.channels.SelectionKey.channel:()Ljava/nio/channels/SelectableChannel;
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.getSelector:()Ljava/nio/channels/Selector;
            invokevirtual java.nio.channels.SelectableChannel.keyFor:(Ljava/nio/channels/Selector;)Ljava/nio/channels/SelectionKey;
            astore 2 /* newKey */
        start local 2 // java.nio.channels.SelectionKey newKey
         2: .line 530
            aload 2 /* newKey */
            aload 1 /* key */
            invokevirtual java.nio.channels.SelectionKey.attachment:()Ljava/lang/Object;
            invokevirtual java.nio.channels.SelectionKey.attach:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         3: .line 531
            aload 2 /* newKey */
            areturn
        end local 2 // java.nio.channels.SelectionKey newKey
         4: .line 534
      StackMap locals:
      StackMap stack:
            aload 1 /* key */
            areturn
        end local 1 // java.nio.channels.SelectionKey key
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            0    5     1     key  Ljava/nio/channels/SelectionKey;
            2    4     2  newKey  Ljava/nio/channels/SelectionKey;
    MethodParameters:
      Name  Flags
      key   final

  void workaroundSelectorSpin();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 538
            getstatic org.glassfish.grizzly.nio.SelectorRunner.LOGGER:Ljava/util/logging/Logger;
            getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
            invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
            ifeq 2
         1: .line 539
            getstatic org.glassfish.grizzly.nio.SelectorRunner.LOGGER:Ljava/util/logging/Logger;
            getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
            ldc "Workaround selector spin. selector={0}"
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.getSelector:()Ljava/nio/channels/Selector;
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Object;)V
         2: .line 542
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.spinnedSelectorsHistory:Ljava/util/Map;
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.getSelector:()Ljava/nio/channels/Selector;
            invokestatic java.lang.System.currentTimeMillis:()J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         3: .line 543
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.switchToNewSelector:()V
         4: .line 544
            return
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/glassfish/grizzly/nio/SelectorRunner;
    Exceptions:
      throws java.io.IOException

  void checkSelectorSpin(boolean, int);
    descriptor: (ZI)V
    flags: (0x0000) 
    Code:
      stack=4, locals=5, args_size=3
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
        start local 1 // boolean hasSelectedKeys
        start local 2 // int spinRateThreshold
         0: .line 547
            iload 1 /* hasSelectedKeys */
            ifeq 3
         1: .line 548
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.resetSpinCounter:()V
         2: .line 549
            goto 6
         3: .line 550
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.incSpinCounter:()I
            i2l
            lstore 3 /* sr */
        start local 3 // long sr
         4: .line 551
            lload 3 /* sr */
            iload 2 /* spinRateThreshold */
            i2l
            lcmp
            ifle 6
         5: .line 552
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.workaroundSelectorSpin:()V
        end local 3 // long sr
         6: .line 555
      StackMap locals:
      StackMap stack:
            return
        end local 2 // int spinRateThreshold
        end local 1 // boolean hasSelectedKeys
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    7     0               this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            0    7     1    hasSelectedKeys  Z
            0    7     2  spinRateThreshold  I
            4    6     3                 sr  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
                   Name  Flags
      hasSelectedKeys    final
      spinRateThreshold  final

  private void addThreadNameMarker(java.lang.Thread);
    descriptor: (Ljava/lang/Thread;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
        start local 1 // java.lang.Thread currentThread
         0: .line 558
            aload 1 /* currentThread */
            invokevirtual java.lang.Thread.getName:()Ljava/lang/String;
            astore 2 /* name */
        start local 2 // java.lang.String name
         1: .line 559
            aload 2 /* name */
            ldc " SelectorRunner"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifne 3
         2: .line 560
            aload 1 /* currentThread */
            new java.lang.StringBuilder
            dup
            aload 2 /* name */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " SelectorRunner"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.lang.Thread.setName:(Ljava/lang/String;)V
         3: .line 562
      StackMap locals: java.lang.String
      StackMap stack:
            return
        end local 2 // java.lang.String name
        end local 1 // java.lang.Thread currentThread
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    4     0           this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            0    4     1  currentThread  Ljava/lang/Thread;
            1    4     2           name  Ljava/lang/String;
    MethodParameters:
               Name  Flags
      currentThread  final

  private void removeThreadNameMarker(java.lang.Thread);
    descriptor: (Ljava/lang/Thread;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
        start local 1 // java.lang.Thread currentThread
         0: .line 565
            aload 1 /* currentThread */
            invokevirtual java.lang.Thread.getName:()Ljava/lang/String;
            astore 2 /* name */
        start local 2 // java.lang.String name
         1: .line 566
            aload 2 /* name */
            ldc " SelectorRunner"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 3
         2: .line 567
            aload 1 /* currentThread */
            aload 2 /* name */
            iconst_0
            aload 2 /* name */
            invokevirtual java.lang.String.length:()I
            ldc " SelectorRunner"
            invokevirtual java.lang.String.length:()I
            isub
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            invokevirtual java.lang.Thread.setName:(Ljava/lang/String;)V
         3: .line 569
      StackMap locals: java.lang.String
      StackMap stack:
            return
        end local 2 // java.lang.String name
        end local 1 // java.lang.Thread currentThread
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    4     0           this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            0    4     1  currentThread  Ljava/lang/Thread;
            1    4     2           name  Ljava/lang/String;
    MethodParameters:
               Name  Flags
      currentThread  final
}
SourceFile: "SelectorRunner.java"
InnerClasses:
  public final State = org.glassfish.grizzly.Transport$State of org.glassfish.grizzly.Transport