3aad09e2b9f90b2fe4543ffed424376d221b08c0
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Inline Method | 1 | ||
| Inline Method private consumeElement(sBuffer long[], eBuffer E[], mask long, currIndex long) : E inlined to public consume(consumer ConsumerFunction<E>, batchSize int) : int in class org.jctools.queues.alt.MpmcArrayConcurrentQueueColdFields.Consumer | From | To | |
| Rename Variable | 6 | ||
| Rename Variable seqOffset : long to sOffset : long in method public poll() : E in class org.jctools.queues.alt.MpmcArrayConcurrentQueueColdFields.Consumer | From | To | |
| Rename Variable target : long to targetIndex : long in method public consume(consumer ConsumerFunction<E>, batchSize int) : int in class org.jctools.queues.alt.MpmcArrayConcurrentQueueColdFields.Consumer | From | To | |
| Rename Variable lSequenceBuffer : long[] to sBuffer : long[] in method public poll() : E in class org.jctools.queues.alt.MpmcArrayConcurrentQueueColdFields.Consumer | From | To | |
| Rename Variable e : E to currIndex : long in method public produce(producer ProducerFunction<E>, batchSize int) : int in class org.jctools.queues.alt.MpmcArrayConcurrentQueueColdFields.Producer | From | To | |
| Rename Variable delta : long to tDelta : long in method public consume(consumer ConsumerFunction<E>, batchSize int) : int in class org.jctools.queues.alt.MpmcArrayConcurrentQueueColdFields.Consumer | From | To | |
| Rename Variable lsb : long[] to sBuffer : long[] in method public weakOffer(e E) : boolean in class org.jctools.queues.alt.MpmcArrayConcurrentQueueColdFields.Producer | From | To | |
| Change Return Type | 1 | ||
| Change Return Type boolean to void in method public consume(e E) : void in class org.jctools.queues.alt.ConsumerFunction | From | To | |
| Extract Variable | 3 | ||
| Extract Variable pIndex : long in method public offer(e E) : boolean from class org.jctools.queues.alt.Producer | From | To | |
| Extract Variable consumer : ConcurrentQueueConsumer<Integer> in method public sanity() : void from class org.jctools.queues.alt.ConcurrentQueueSanityTest | From | To | |
| Extract Variable producer : ConcurrentQueueProducer<Integer> in method public sanity() : void from class org.jctools.queues.alt.ConcurrentQueueSanityTest | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type e : E to currIndex : long in method public produce(producer ProducerFunction<E>, batchSize int) : int in class org.jctools.queues.alt.MpmcArrayConcurrentQueueColdFields.Producer | From | To | |
| Inline Variable | 3 | ||
| Inline Variable seq : long in method public poll() : E from class org.jctools.queues.alt.MpmcArrayConcurrentQueueColdFields.Consumer | From | To | |
| Inline Variable seq : long in method private weakPoll(sBuffer long[], mask long) : E from class org.jctools.queues.alt.MpmcArrayConcurrentQueueColdFields.Consumer | From | To | |
| Inline Variable lSequenceBuffer : long[] in method public weakPoll() : E from class org.jctools.queues.alt.MpmcArrayConcurrentQueueColdFields.Consumer | From | To | |
| Extract Method | 1 | ||
| Extract Method private weakOffer(sBuffer long[], eBuffer E[], mask long, e E) : boolean extracted from public weakOffer(e E) : boolean in class org.jctools.queues.alt.MpmcArrayConcurrentQueueColdFields.Producer | From | To |