13fdb7ba9106d80e00f5b832b823c5fa257cc573
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 1
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Subclass | 1 | ||
Extract Subclass org.jctools.queues.SpscGrowableArrayQueueProducerColdFields from class org.jctools.queues.SpscGrowableArrayQueueProducerFields | From | To | |
Rename Variable | 1 | ||
Rename Variable offset : long to offsetInNew : long in method private resize(old E[], currIndex long, offset long, maxCapacity int, e E) : void in class org.jctools.queues.SpscGrowableArrayQueue | From | To | |
Pull Up Attribute | 2 | ||
Pull Up Attribute protected consumerMask : long from class org.jctools.queues.SpscGrowableArrayQueueConsumerField to protected consumerMask : long from class org.jctools.queues.SpscGrowableArrayQueueConsumerColdField | From | To | |
Pull Up Attribute protected consumerBuffer : E[] from class org.jctools.queues.SpscGrowableArrayQueueConsumerField to protected consumerBuffer : E[] from class org.jctools.queues.SpscGrowableArrayQueueConsumerColdField | From | To | |
Change Return Type | 1 | ||
Change Return Type E to Object in method private lvElement(buffer E[], offset long) : Object in class org.jctools.queues.SpscGrowableArrayQueue | From | To | |
Push Down Attribute | 5 | ||
Push Down Attribute protected producerLookAheadStep : int from class org.jctools.queues.SpscGrowableArrayQueueProducerFields to protected producerLookAheadStep : int from class org.jctools.queues.SpscGrowableArrayQueueProducerColdFields | From | To | |
Push Down Attribute protected maxSize : int from class org.jctools.queues.SpscGrowableArrayQueueProducerFields to protected maxSize : int from class org.jctools.queues.SpscGrowableArrayQueueProducerColdFields | From | To | |
Push Down Attribute protected producerMask : long from class org.jctools.queues.SpscGrowableArrayQueueProducerFields to protected producerMask : long from class org.jctools.queues.SpscGrowableArrayQueueProducerColdFields | From | To | |
Push Down Attribute protected producerLookAhead : long from class org.jctools.queues.SpscGrowableArrayQueueProducerFields to protected producerLookAhead : long from class org.jctools.queues.SpscGrowableArrayQueueProducerColdFields | From | To | |
Push Down Attribute protected producerBuffer : E[] from class org.jctools.queues.SpscGrowableArrayQueueProducerFields to protected producerBuffer : E[] from class org.jctools.queues.SpscGrowableArrayQueueProducerColdFields | From | To | |
Extract Superclass | 2 | ||
Extract Superclass org.jctools.queues.SpscGrowableArrayQueueConsumerColdField from classes [org.jctools.queues.SpscGrowableArrayQueueConsumerField] | From | To | |
Extract Superclass org.jctools.queues.SpscGrowableArrayQueueProducerColdFields from classes [org.jctools.queues.SpscGrowableArrayQueueL2Pad] | From | To | |
Change Variable Type | 2 | ||
Change Variable Type e : E to e : Object in method public peek() : E in class org.jctools.queues.SpscGrowableArrayQueue | From | To | |
Change Variable Type e : E to e : Object in method public poll() : E in class org.jctools.queues.SpscGrowableArrayQueue | From | To | |
Extract Method | 2 | ||
Extract Method private offerWhileWaitingForConsumerOnLastBuffer(buffer E[], e E, index long, mask long, offset long, lookAheadStep int) : boolean extracted from public offer(e E) : boolean in class org.jctools.queues.SpscGrowableArrayQueue | From | To | |
Extract Method private writeToQueue(buffer E[], e E, index long, offset long) : boolean extracted from public offer(e E) : boolean in class org.jctools.queues.SpscGrowableArrayQueue | From | To |