I am investigating LMAX Disruptor's source code, and I came into RingBuffer
abstract class. Why are there exactly 7 long fields (p1 ... p7) in RingBufferPad
?
Here is actual code :
https://github.com/LMAX-Exchange/disruptor/blob/master/src/main/java/com/lmax/disruptor/RingBuffer.java
abstract class RingBufferPad
{
protected long p1, p2, p3, p4, p5, p6, p7;
}
abstract class RingBufferFields<E> extends RingBufferPad
{
....