public final class com.lmax.disruptor.SequenceGroup extends com.lmax.disruptor.Sequence
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.lmax.disruptor.SequenceGroup
super_class: com.lmax.disruptor.Sequence
{
private static final java.util.concurrent.atomic.AtomicReferenceFieldUpdater<com.lmax.disruptor.SequenceGroup, com.lmax.disruptor.Sequence[]> SEQUENCE_UPDATER;
descriptor: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lcom/lmax/disruptor/SequenceGroup;[Lcom/lmax/disruptor/Sequence;>;
private volatile com.lmax.disruptor.Sequence[] sequences;
descriptor: [Lcom/lmax/disruptor/Sequence;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lcom/lmax/disruptor/SequenceGroup;
ldc [Lcom/lmax/disruptor/Sequence;
ldc "sequences"
invokestatic java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
1: putstatic com.lmax.disruptor.SequenceGroup.SEQUENCE_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc -1
invokespecial com.lmax.disruptor.Sequence.<init>:(J)V
1: aload 0
iconst_0
anewarray com.lmax.disruptor.Sequence
putfield com.lmax.disruptor.SequenceGroup.sequences:[Lcom/lmax/disruptor/Sequence;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/lmax/disruptor/SequenceGroup;
public long get();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.lmax.disruptor.SequenceGroup.sequences:[Lcom/lmax/disruptor/Sequence;
invokestatic com.lmax.disruptor.util.Util.getMinimumSequence:([Lcom/lmax/disruptor/Sequence;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/lmax/disruptor/SequenceGroup;
public void set(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield com.lmax.disruptor.SequenceGroup.sequences:[Lcom/lmax/disruptor/Sequence;
astore 3
start local 3 1: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 5
StackMap locals: com.lmax.disruptor.SequenceGroup long com.lmax.disruptor.Sequence[] top int int com.lmax.disruptor.Sequence[]
StackMap stack:
2: aload 7
iload 5
aaload
astore 4
start local 4 3: aload 4
lload 1
invokevirtual com.lmax.disruptor.Sequence.set:(J)V
end local 4 4: iinc 5 1
StackMap locals:
StackMap stack:
5: iload 5
iload 6
if_icmplt 2
6: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/lmax/disruptor/SequenceGroup;
0 7 1 value J
1 7 3 sequences [Lcom/lmax/disruptor/Sequence;
3 4 4 sequence Lcom/lmax/disruptor/Sequence;
MethodParameters:
Name Flags
value final
public void add(com.lmax.disruptor.Sequence);
descriptor: (Lcom/lmax/disruptor/Sequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
getfield com.lmax.disruptor.SequenceGroup.sequences:[Lcom/lmax/disruptor/Sequence;
astore 2
start local 2 1: aload 2
arraylength
istore 4
start local 4 2: iload 4
iconst_1
iadd
anewarray com.lmax.disruptor.Sequence
astore 3
start local 3 3: aload 2
iconst_0
aload 3
iconst_0
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 3
iload 4
aload 1
aastore
end local 4 5: getstatic com.lmax.disruptor.SequenceGroup.SEQUENCE_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aload 2
aload 3
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/lmax/disruptor/SequenceGroup;
0 7 1 sequence Lcom/lmax/disruptor/Sequence;
1 7 2 oldSequences [Lcom/lmax/disruptor/Sequence;
3 7 3 newSequences [Lcom/lmax/disruptor/Sequence;
2 5 4 oldSize I
MethodParameters:
Name Flags
sequence final
public boolean remove(com.lmax.disruptor.Sequence);
descriptor: (Lcom/lmax/disruptor/Sequence;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic com.lmax.disruptor.SequenceGroup.SEQUENCE_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 1
invokestatic com.lmax.disruptor.SequenceGroups.removeSequence:(Ljava/lang/Object;Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Lcom/lmax/disruptor/Sequence;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/lmax/disruptor/SequenceGroup;
0 1 1 sequence Lcom/lmax/disruptor/Sequence;
MethodParameters:
Name Flags
sequence final
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.lmax.disruptor.SequenceGroup.sequences:[Lcom/lmax/disruptor/Sequence;
arraylength
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/lmax/disruptor/SequenceGroup;
public void addWhileRunning(com.lmax.disruptor.Cursored, com.lmax.disruptor.Sequence);
descriptor: (Lcom/lmax/disruptor/Cursored;Lcom/lmax/disruptor/Sequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic com.lmax.disruptor.SequenceGroup.SEQUENCE_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 1
iconst_1
anewarray com.lmax.disruptor.Sequence
dup
iconst_0
aload 2
aastore
invokestatic com.lmax.disruptor.SequenceGroups.addSequences:(Ljava/lang/Object;Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Lcom/lmax/disruptor/Cursored;[Lcom/lmax/disruptor/Sequence;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/lmax/disruptor/SequenceGroup;
0 2 1 cursored Lcom/lmax/disruptor/Cursored;
0 2 2 sequence Lcom/lmax/disruptor/Sequence;
MethodParameters:
Name Flags
cursored
sequence
}
SourceFile: "SequenceGroup.java"