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 53
            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 54
            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 56
            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 */
         1: .line 86
            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;
         2: .line 85
            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    3     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 91
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 67
            aload 0 /* this */
            iconst_1
            putfield org.glassfish.grizzly.nio.SelectorRunner.dumbVolatile:I
         2: .line 77
            aload 0 /* this */
            aconst_null
            putfield org.glassfish.grizzly.nio.SelectorRunner.key:Ljava/nio/channels/SelectionKey;
         3: .line 80
            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 81
            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 525
            aload 0 /* this */
         6: .line 526
            new java.util.WeakHashMap
            dup
            invokespecial java.util.WeakHashMap.<init>:()V
            putfield org.glassfish.grizzly.nio.SelectorRunner.spinnedSelectorsHistory:Ljava/util/Map;
         7: .line 93
            aload 0 /* this */
            aload 1 /* transport */
            putfield org.glassfish.grizzly.nio.SelectorRunner.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
         8: .line 94
            aload 0 /* this */
            aload 2 /* selector */
            putfield org.glassfish.grizzly.nio.SelectorRunner.selector:Ljava/nio/channels/Selector;
         9: .line 95
            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;
        10: .line 97
            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;
        11: .line 98
            aload 0 /* this */
            new java.util.ArrayDeque
            dup
            invokespecial java.util.ArrayDeque.<init>:()V
            putfield org.glassfish.grizzly.nio.SelectorRunner.evenPostponedTasks:Ljava/util/Queue;
        12: .line 99
            aload 0 /* this */
            new java.util.ArrayDeque
            dup
            invokespecial java.util.ArrayDeque.<init>:()V
            putfield org.glassfish.grizzly.nio.SelectorRunner.oddPostponedTasks:Ljava/util/Queue;
        13: .line 100
            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;
        14: .line 101
            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   15     0       this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            0   15     1  transport  Lorg/glassfish/grizzly/nio/NIOTransport;
            0   15     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 104
            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 105
            aload 0 /* this */
            iconst_1
            putfield org.glassfish.grizzly.nio.SelectorRunner.hasPendingTasks:Z
         2: .line 107
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.wakeupSelector:()V
         3: .line 108
            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 111
            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 112
            aload 1 /* localSelector */
            ifnull 7
         2: .line 113
            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 7
         3: .line 115
            aload 1 /* localSelector */
            invokevirtual java.nio.channels.Selector.wakeup:()Ljava/nio/channels/Selector;
            pop
         4: .line 116
            goto 7
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.nio.channels.Selector
      StackMap stack: java.lang.Exception
         5: astore 2 /* e */
        start local 2 // java.lang.Exception e
         6: .line 117
            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
         7: .line 120
      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    8     0           this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            1    8     1  localSelector  Ljava/nio/channels/Selector;
            6    7     2              e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           3     4       5  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 123
            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 127
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.dumbVolatile:I
            ifeq 2
         1: .line 128
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.selector:Ljava/nio/channels/Selector;
            areturn
         2: .line 131
      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 141
            aload 0 /* this */
            aload 1 /* selector */
            putfield org.glassfish.grizzly.nio.SelectorRunner.selector:Ljava/nio/channels/Selector;
         1: .line 142
            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 143
            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 146
            aload 0 /* this */
            aload 1 /* runnerThread */
            putfield org.glassfish.grizzly.nio.SelectorRunner.selectorRunnerThread:Ljava/lang/Thread;
         1: .line 147
            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 148
            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 151
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.dumbVolatile:I
            ifeq 2
         1: .line 152
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.selectorRunnerThread:Ljava/lang/Thread;
            areturn
         2: .line 155
      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 159
            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 163
            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 164
      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 166
            iconst_0
            invokestatic org.glassfish.grizzly.threadpool.Threads.setService:(Z)V
         3: .line 168
            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 169
            aload 0 /* this */
            aconst_null
            putfield org.glassfish.grizzly.nio.SelectorRunner.selectorRunnerThread:Ljava/lang/Thread;
         5: .line 170
            aload 0 /* this */
            iconst_1
            putfield org.glassfish.grizzly.nio.SelectorRunner.isResume:Z
         6: .line 171
            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 172
            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 175
            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 5
         1: .line 176
            getstatic org.glassfish.grizzly.nio.SelectorRunner.LOGGER:Ljava/util/logging/Logger;
            getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
         2: .line 177
            invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_SELECTOR_RUNNER_NOT_IN_STOPPED_STATE_EXCEPTION:()Ljava/lang/String;
         3: .line 176
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
         4: .line 178
            return
         5: .line 181
      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
         6: .line 182
            return
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     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 185
            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 186
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.wakeupSelector:()V
         2: .line 190
            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 192
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.shutdownSelector:()V
         4: .line 194
      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 197
            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 198
            aload 1 /* localSelector */
            ifnull 28
         2: .line 200
            iconst_0
            anewarray java.nio.channels.SelectionKey
            astore 2 /* keys */
        start local 2 // java.nio.channels.SelectionKey[] keys
         3: .line 203
      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 204
            goto 7
         5: .line 205
      StackMap locals:
      StackMap stack: java.util.ConcurrentModificationException
            pop
         6: .line 201
            goto 3
         7: .line 209
      StackMap locals:
      StackMap stack:
            aload 2 /* keys */
            dup
            astore 6
            arraylength
            istore 5
            iconst_0
            istore 4
            goto 14
      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 211
            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;
        10: .line 212
            aload 3 /* selectionKey */
            invokeinterface org.glassfish.grizzly.nio.SelectionKeyHandler.getConnectionForKey:(Ljava/nio/channels/SelectionKey;)Lorg/glassfish/grizzly/nio/NIOConnection;
        11: .line 210
            astore 7 /* connection */
        start local 7 // org.glassfish.grizzly.Connection connection
        12: .line 213
            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
        13: .line 209
            iinc 4 1
      StackMap locals:
      StackMap stack:
        14: iload 4
            iload 5
            if_icmplt 8
        end local 2 // java.nio.channels.SelectionKey[] keys
        15: .line 215
            goto 25
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.nio.channels.Selector
      StackMap stack: java.nio.channels.ClosedSelectorException
        16: pop
        17: .line 219
            aload 1 /* localSelector */
            invokevirtual java.nio.channels.Selector.close:()V
        18: .line 220
            goto 28
      StackMap locals:
      StackMap stack: java.lang.Exception
        19: pop
            goto 28
        20: .line 217
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 8
        21: .line 219
            aload 1 /* localSelector */
            invokevirtual java.nio.channels.Selector.close:()V
        22: .line 220
            goto 24
      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
        23: pop
        24: .line 222
      StackMap locals:
      StackMap stack:
            aload 8
            athrow
        25: .line 219
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.nio.channels.Selector
      StackMap stack:
            aload 1 /* localSelector */
            invokevirtual java.nio.channels.Selector.close:()V
        26: .line 220
            goto 28
      StackMap locals:
      StackMap stack: java.lang.Exception
        27: pop
        28: .line 225
      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
        29: .line 226
            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
        30: .line 227
            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
        31: .line 228
            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   32     0           this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            1   32     1  localSelector  Ljava/nio/channels/Selector;
            3   15     2           keys  [Ljava/nio/channels/SelectionKey;
            9   13     3   selectionKey  Ljava/nio/channels/SelectionKey;
           12   13     7     connection  Lorg/glassfish/grizzly/Connection;
      Exception table:
        from    to  target  type
           3     4       5  Class java.util.ConcurrentModificationException
           2    15      16  Class java.nio.channels.ClosedSelectorException
          17    18      19  Class java.lang.Exception
           2    17      20  any
          21    22      23  Class java.lang.Exception
          25    26      27  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 232
            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 233
            return
         2: .line 236
      StackMap locals:
      StackMap stack:
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            astore 1 /* currentThread */
        start local 1 // java.lang.Thread currentThread
         3: .line 238
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.isResume:Z
            ifne 15
         4: .line 239
            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 266
            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 268
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.isStop:()Z
            ifeq 11
         7: .line 269
            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 270
            aload 0 /* this */
            aconst_null
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.setRunnerThread:(Ljava/lang/Thread;)V
         9: .line 271
            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 272
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.shutdownSelector:()V
        11: .line 276
      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 277
            iconst_0
            invokestatic org.glassfish.grizzly.threadpool.Threads.setService:(Z)V
        13: .line 240
            return
        14: .line 243
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* currentThread */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.addThreadNameMarker:(Ljava/lang/Thread;)V
        15: .line 246
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* currentThread */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.setRunnerThread:(Ljava/lang/Thread;)V
        16: .line 247
            iconst_1
            invokestatic org.glassfish.grizzly.threadpool.Threads.setService:(Z)V
        17: .line 249
            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 251
            iconst_0
            istore 3 /* isSkipping */
        start local 3 // boolean isSkipping
        19: .line 253
            goto 30
        20: .line 254
      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 255
            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 256
            goto 30
        25: .line 258
      StackMap locals:
      StackMap stack:
            aload 2 /* transportStateHolder */
        26: .line 259
            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;
        27: .line 260
            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
        28: .line 261
            goto 30
      StackMap locals:
      StackMap stack: java.lang.Exception
        29: pop
        30: .line 253
      StackMap locals:
      StackMap stack:
            iload 3 /* isSkipping */
            ifne 42
            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
        31: .line 265
            goto 42
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.lang.Thread
      StackMap stack: java.lang.Throwable
        32: astore 4
        33: .line 266
            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
        34: .line 268
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.isStop:()Z
            ifeq 39
        35: .line 269
            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
        36: .line 270
            aload 0 /* this */
            aconst_null
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.setRunnerThread:(Ljava/lang/Thread;)V
        37: .line 271
            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 39
        38: .line 272
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.shutdownSelector:()V
        39: .line 276
      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
        40: .line 277
            iconst_0
            invokestatic org.glassfish.grizzly.threadpool.Threads.setService:(Z)V
        41: .line 278
            aload 4
            athrow
        42: .line 266
      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
        43: .line 268
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.isStop:()Z
            ifeq 48
        44: .line 269
            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
        45: .line 270
            aload 0 /* this */
            aconst_null
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.setRunnerThread:(Ljava/lang/Thread;)V
        46: .line 271
            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 48
        47: .line 272
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.shutdownSelector:()V
        48: .line 276
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* currentThread */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.removeThreadNameMarker:(Ljava/lang/Thread;)V
        49: .line 277
            iconst_0
            invokestatic org.glassfish.grizzly.threadpool.Threads.setService:(Z)V
        50: .line 279
            return
        end local 1 // java.lang.Thread currentThread
        end local 0 // org.glassfish.grizzly.nio.SelectorRunner this
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0   51     0                  this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            3   51     1         currentThread  Ljava/lang/Thread;
           18   31     2  transportStateHolder  Lorg/glassfish/grizzly/utils/StateHolder<Lorg/glassfish/grizzly/Transport$State;>;
           19   31     3            isSkipping  Z
      Exception table:
        from    to  target  type
          25    28      29  Class java.lang.Exception
           3     5      32  any
          14    32      32  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 290
            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 294
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.isResume:Z
            ifeq 10
         2: .line 296
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.nio.SelectorRunner.isResume:Z
         3: .line 299
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.readyKeySet:Ljava/util/Set;
            ifnull 10
         4: .line 300
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.keyReadyOps:I
            ifeq 7
         5: .line 301
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.iterateKeyEvents:()Z
            ifne 7
         6: iconst_0
            ireturn
         7: .line 304
      StackMap locals: org.glassfish.grizzly.nio.SelectorHandler
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.iterateKeys:()Z
            ifne 9
         8: iconst_0
            ireturn
         9: .line 305
      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 309
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.nio.SelectorRunner.lastSelectedKeysCount:I
        11: .line 311
            aload 1 /* selectorHandler */
            aload 0 /* this */
            invokeinterface org.glassfish.grizzly.nio.SelectorHandler.preSelect:(Lorg/glassfish/grizzly/nio/SelectorRunner;)Z
            ifne 13
        12: .line 312
            iconst_0
            ireturn
        13: .line 315
      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 316
            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 318
            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: iconst_1
            ireturn
        17: .line 320
      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 322
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.lastSelectedKeysCount:I
            ifeq 23
        19: .line 323
            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 324
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.iterateKeys:()Z
            ifne 22
        21: iconst_0
            ireturn
        22: .line 325
      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 328
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield org.glassfish.grizzly.nio.SelectorRunner.readyKeySet:Ljava/util/Set;
        24: .line 329
            aload 0 /* this */
            aconst_null
            putfield org.glassfish.grizzly.nio.SelectorRunner.iterator:Ljava/util/Iterator;
        25: .line 330
            aload 1 /* selectorHandler */
            aload 0 /* this */
            invokeinterface org.glassfish.grizzly.nio.SelectorHandler.postSelect:(Lorg/glassfish/grizzly/nio/SelectorRunner;)V
        26: .line 331
            goto 45
      StackMap locals:
      StackMap stack: java.nio.channels.ClosedSelectorException
        27: astore 2 /* e */
        start local 2 // java.nio.channels.ClosedSelectorException e
        28: .line 332
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.isRunning:()Z
            ifeq 31
        29: .line 333
            aload 1 /* selectorHandler */
            aload 0 /* this */
            invokeinterface org.glassfish.grizzly.nio.SelectorHandler.onSelectorClosed:(Lorg/glassfish/grizzly/nio/SelectorRunner;)Z
            ifeq 31
        30: .line 334
            iconst_1
            ireturn
        31: .line 338
      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;
        32: .line 339
            ldc "Selector was unexpectedly closed"
            aload 2 /* e */
        33: .line 340
            getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
            getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
        34: .line 338
            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
        35: goto 45
        36: .line 341
      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
        37: .line 342
            aload 0 /* this */
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.key:Ljava/nio/channels/SelectionKey;
        38: .line 343
            ldc "doSelect exception"
            aload 2 /* e */
        39: .line 344
            getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
            getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
        40: .line 342
            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
        41: goto 45
        42: .line 345
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 2 /* t */
        start local 2 // java.lang.Throwable t
        43: .line 346
            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
        44: .line 347
            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
        45: .line 350
      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   46     0             this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            1   46     1  selectorHandler  Lorg/glassfish/grizzly/nio/SelectorHandler;
           28   35     2                e  Ljava/nio/channels/ClosedSelectorException;
           37   41     2                e  Ljava/lang/Exception;
           43   45     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      36  Class java.lang.Exception
           7     8      36  Class java.lang.Exception
           9    12      36  Class java.lang.Exception
          13    16      36  Class java.lang.Exception
          17    21      36  Class java.lang.Exception
          22    26      36  Class java.lang.Exception
           1     6      42  Class java.lang.Throwable
           7     8      42  Class java.lang.Throwable
           9    12      42  Class java.lang.Throwable
          13    16      42  Class java.lang.Throwable
          17    21      42  Class java.lang.Throwable
          22    26      42  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 354
            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 356
            goto 13
         2: .line 358
      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 359
            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 360
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.iterateKeyEvents:()Z
            ifne 13
         5: .line 361
            iconst_0
            ireturn
         6: .line 363
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 2 /* e */
        start local 2 // java.io.IOException e
         7: .line 364
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.nio.SelectorRunner.keyReadyOps:I
         8: .line 365
            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 366
      StackMap locals:
      StackMap stack: java.nio.channels.CancelledKeyException
            astore 2 /* e */
        start local 2 // java.nio.channels.CancelledKeyException e
        11: .line 367
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.nio.SelectorRunner.keyReadyOps:I
        12: .line 368
            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 356
      StackMap locals:
      StackMap stack:
            aload 1 /* it */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
        14: .line 371
            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 378
            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 379
            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 380
            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 381
            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 383
            aload 2 /* selectionKeyHandler */
            aload 1 /* keyLocal */
            invokeinterface org.glassfish.grizzly.nio.SelectionKeyHandler.getConnectionForKey:(Ljava/nio/channels/SelectionKey;)Lorg/glassfish/grizzly/nio/NIOConnection;
         5: .line 382
            astore 5 /* connection */
        start local 5 // org.glassfish.grizzly.nio.NIOConnection connection
         6: .line 385
            aload 4 /* ioEvents */
            dup
            astore 9
            arraylength
            istore 8
            iconst_0
            istore 7
            goto 15
      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:
         7: aload 9
            iload 7
            aaload
            astore 6 /* ioEvent */
        start local 6 // org.glassfish.grizzly.IOEvent ioEvent
         8: .line 386
            aload 5 /* connection */
            aload 6 /* ioEvent */
            invokestatic org.glassfish.grizzly.nio.NIOConnection.notifyIOEventReady:(Lorg/glassfish/grizzly/nio/NIOConnection;Lorg/glassfish/grizzly/IOEvent;)V
         9: .line 388
            aload 6 /* ioEvent */
            invokevirtual org.glassfish.grizzly.IOEvent.getSelectionKeyInterest:()I
            istore 10 /* interest */
        start local 10 // int interest
        10: .line 389
            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
        11: .line 390
            aload 2 /* selectionKeyHandler */
            aload 1 /* keyLocal */
            iload 10 /* interest */
            invokeinterface org.glassfish.grizzly.nio.SelectionKeyHandler.onProcessInterest:(Ljava/nio/channels/SelectionKey;I)Z
            ifeq 14
        12: .line 391
            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 14
        13: .line 392
            iconst_0
            ireturn
        end local 10 // int interest
        end local 6 // org.glassfish.grizzly.IOEvent ioEvent
        14: .line 385
      StackMap locals:
      StackMap stack:
            iinc 7 1
      StackMap locals:
      StackMap stack:
        15: iload 7
            iload 8
            if_icmplt 7
        16: .line 397
            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   17     0                 this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            1   17     1             keyLocal  Ljava/nio/channels/SelectionKey;
            2   17     2  selectionKeyHandler  Lorg/glassfish/grizzly/nio/SelectionKeyHandler;
            3   17     3           ioStrategy  Lorg/glassfish/grizzly/IOStrategy;
            4   17     4             ioEvents  [Lorg/glassfish/grizzly/IOEvent;
            6   17     5           connection  Lorg/glassfish/grizzly/nio/NIOConnection;
            8   14     6              ioEvent  Lorg/glassfish/grizzly/IOEvent;
           10   14    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 401
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.nio.SelectorRunner.hasPendingTasks:Z
         1: .line 402
            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 406
            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 410
            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 411
            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 3
         2: .line 412
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.oddPostponedTasks:Ljava/util/Queue;
            goto 4
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.util.Queue
      StackMap stack: org.glassfish.grizzly.nio.SelectorRunner
         3: aload 0 /* this */
            getfield org.glassfish.grizzly.nio.SelectorRunner.evenPostponedTasks:Ljava/util/Queue;
         4: .line 411
      StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.util.Queue
      StackMap stack: org.glassfish.grizzly.nio.SelectorRunner java.util.Queue
            putfield org.glassfish.grizzly.nio.SelectorRunner.currentPostponedTasks:Ljava/util/Queue;
         5: .line 413
            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    6     0           this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            1    6     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 417
            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 419
            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 423
            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 440
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.isRunning:()Z
            ifeq 18
         1: .line 441
            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 443
            aload 1 /* key */
            ifnull 16
         3: .line 446
            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;
         4: .line 445
            astore 6 /* connection */
        start local 6 // org.glassfish.grizzly.Connection connection
         5: .line 448
            aload 6 /* connection */
            ifnull 8
         6: .line 449
            aload 6 /* connection */
            invokeinterface org.glassfish.grizzly.Connection.closeSilently:()V
         7: .line 450
            goto 16
         8: .line 451
      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
         9: .line 452
            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
        10: .line 453
            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
        11: .line 455
            goto 16
      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
        12: astore 6 /* cancelException */
        start local 6 // java.io.IOException cancelException
        13: .line 456
            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"
        14: .line 457
            aload 6 /* cancelException */
        15: .line 456
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 6 // java.io.IOException cancelException
        16: .line 461
      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
        17: .line 462
            goto 19
        18: .line 463
      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
        19: .line 465
      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   20     0             this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            0   20     1              key  Ljava/nio/channels/SelectionKey;
            0   20     2      description  Ljava/lang/String;
            0   20     3                e  Ljava/lang/Exception;
            0   20     4      runLogLevel  Ljava/util/logging/Level;
            0   20     5  stoppedLogLevel  Ljava/util/logging/Level;
            5   11     6       connection  Lorg/glassfish/grizzly/Connection;
            9   11     7          channel  Ljava/nio/channels/SelectableChannel;
           13   16     6  cancelException  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           3    11      12  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 474
            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 final void switchToNewSelector();
    descriptor: ()V
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL
    Code:
      stack=4, locals=9, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 478
            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 479
            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 481
            aload 1 /* oldSelector */
            invokevirtual java.nio.channels.Selector.keys:()Ljava/util/Set;
            astore 3 /* keys */
        start local 3 // java.util.Set keys
         3: .line 483
            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;
         4: .line 482
            astore 4 /* selectionKeyHandler */
        start local 4 // org.glassfish.grizzly.nio.SelectionKeyHandler selectionKeyHandler
         5: .line 485
            aload 3 /* keys */
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 6
            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 top java.util.Iterator
      StackMap stack:
         6: 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
         7: .line 486
            aload 5 /* selectionKey */
            invokevirtual java.nio.channels.SelectionKey.isValid:()Z
            ifeq 18
         8: .line 489
            aload 4 /* selectionKeyHandler */
            aload 5 /* selectionKey */
            invokeinterface org.glassfish.grizzly.nio.SelectionKeyHandler.getConnectionForKey:(Ljava/nio/channels/SelectionKey;)Lorg/glassfish/grizzly/nio/NIOConnection;
         9: .line 488
            astore 7 /* nioConnection */
        start local 7 // org.glassfish.grizzly.nio.NIOConnection nioConnection
        10: .line 491
            aload 5 /* selectionKey */
            invokevirtual java.nio.channels.SelectionKey.channel:()Ljava/nio/channels/SelectableChannel;
            aload 2 /* newSelector */
        11: .line 492
            aload 5 /* selectionKey */
            invokevirtual java.nio.channels.SelectionKey.interestOps:()I
            aload 5 /* selectionKey */
            invokevirtual java.nio.channels.SelectionKey.attachment:()Ljava/lang/Object;
        12: .line 491
            invokevirtual java.nio.channels.SelectableChannel.register:(Ljava/nio/channels/Selector;ILjava/lang/Object;)Ljava/nio/channels/SelectionKey;
        13: .line 490
            astore 8 /* newSelectionKey */
        start local 8 // java.nio.channels.SelectionKey newSelectionKey
        14: .line 494
            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
        15: .line 495
            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 java.nio.channels.SelectionKey java.util.Iterator
      StackMap stack: java.lang.Exception
        16: astore 7 /* e */
        start local 7 // java.lang.Exception e
        17: .line 496
            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
        18: .line 485
      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 6
        19: .line 501
            aload 0 /* this */
            aload 2 /* newSelector */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.setSelector:(Ljava/nio/channels/Selector;)V
        20: .line 504
            aload 1 /* oldSelector */
            invokevirtual java.nio.channels.Selector.close:()V
        21: .line 505
            goto 23
      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
        22: pop
        23: .line 507
      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   24     0                 this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            1   24     1          oldSelector  Ljava/nio/channels/Selector;
            2   24     2          newSelector  Ljava/nio/channels/Selector;
            3   24     3                 keys  Ljava/util/Set<Ljava/nio/channels/SelectionKey;>;
            5   24     4  selectionKeyHandler  Lorg/glassfish/grizzly/nio/SelectionKeyHandler;
            7   18     5         selectionKey  Ljava/nio/channels/SelectionKey;
           10   15     7        nioConnection  Lorg/glassfish/grizzly/nio/NIOConnection;
           14   15     8      newSelectionKey  Ljava/nio/channels/SelectionKey;
           17   18     7                    e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           8    15      16  Class java.lang.Exception
          20    21      22  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 511
            goto 4
        start local 2 // org.glassfish.grizzly.nio.SelectorHandlerTask task
         1: .line 513
      StackMap locals: org.glassfish.grizzly.nio.SelectorHandlerTask
      StackMap stack:
            aload 2 /* task */
            invokeinterface org.glassfish.grizzly.nio.SelectorHandlerTask.cancel:()V
         2: .line 514
            goto 4
      StackMap locals:
      StackMap stack: java.lang.Exception
         3: pop
        end local 2 // org.glassfish.grizzly.nio.SelectorHandlerTask task
         4: .line 511
      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 517
            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

  final void resetSpinCounter();
    descriptor: ()V
    flags: (0x0010) ACC_FINAL
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 529
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.nio.SelectorRunner.emptySpinCounter:I
         1: .line 530
            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;

  final int incSpinCounter();
    descriptor: ()I
    flags: (0x0010) ACC_FINAL
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 538
            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 539
            aload 0 /* this */
            invokestatic java.lang.System.nanoTime:()J
            putfield org.glassfish.grizzly.nio.SelectorRunner.lastSpinTimestamp:J
         2: .line 540
            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 541
            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 542
            ldc 1000000000000
            lload 1 /* deltatime */
            ldiv
            l2i
            istore 3 /* contspinspersec */
        start local 3 // int contspinspersec
         6: .line 543
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.nio.SelectorRunner.emptySpinCounter:I
         7: .line 544
            iload 3 /* contspinspersec */
            ireturn
        end local 3 // int contspinspersec
        end local 1 // long deltatime
         8: .line 547
      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

  final java.nio.channels.SelectionKey checkIfSpinnedKey(java.nio.channels.SelectionKey);
    descriptor: (Ljava/nio/channels/SelectionKey;)Ljava/nio/channels/SelectionKey;
    flags: (0x0010) ACC_FINAL
    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 551
            aload 1 /* key */
            invokevirtual java.nio.channels.SelectionKey.isValid:()Z
            ifne 5
            aload 1 /* key */
            invokevirtual java.nio.channels.SelectionKey.channel:()Ljava/nio/channels/SelectableChannel;
            invokevirtual java.nio.channels.SelectableChannel.isOpen:()Z
            ifeq 5
         1: .line 552
            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 5
         2: .line 553
            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
         3: .line 554
            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
         4: .line 555
            aload 2 /* newKey */
            areturn
        end local 2 // java.nio.channels.SelectionKey newKey
         5: .line 558
      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    6     0    this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            0    6     1     key  Ljava/nio/channels/SelectionKey;
            3    5     2  newKey  Ljava/nio/channels/SelectionKey;
    MethodParameters:
      Name  Flags
      key   final

  final void workaroundSelectorSpin();
    descriptor: ()V
    flags: (0x0010) ACC_FINAL
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.nio.SelectorRunner this
         0: .line 562
            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 563
            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 566
      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 567
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.switchToNewSelector:()V
         4: .line 568
            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

  final void checkSelectorSpin(boolean, int);
    descriptor: (ZI)V
    flags: (0x0010) ACC_FINAL
    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 572
            iload 1 /* hasSelectedKeys */
            ifeq 3
         1: .line 573
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.resetSpinCounter:()V
         2: .line 574
            goto 6
         3: .line 575
      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 576
            lload 3 /* sr */
            iload 2 /* spinRateThreshold */
            i2l
            lcmp
            ifle 6
         5: .line 577
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.nio.SelectorRunner.workaroundSelectorSpin:()V
        end local 3 // long sr
         6: .line 580
      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 583
            aload 1 /* currentThread */
            invokevirtual java.lang.Thread.getName:()Ljava/lang/String;
            astore 2 /* name */
        start local 2 // java.lang.String name
         1: .line 584
            aload 2 /* name */
            ldc " SelectorRunner"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifne 3
         2: .line 585
            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 587
      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 590
            aload 1 /* currentThread */
            invokevirtual java.lang.Thread.getName:()Ljava/lang/String;
            astore 2 /* name */
        start local 2 // java.lang.String name
         1: .line 591
            aload 2 /* name */
            ldc " SelectorRunner"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 5
         2: .line 592
            aload 1 /* currentThread */
         3: .line 593
            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;
         4: .line 592
            invokevirtual java.lang.Thread.setName:(Ljava/lang/String;)V
         5: .line 595
      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    6     0           this  Lorg/glassfish/grizzly/nio/SelectorRunner;
            0    6     1  currentThread  Ljava/lang/Thread;
            1    6     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