[jctools] 02/02: Merge tag 'upstream/1.2.1'

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Aug 2 20:01:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository jctools.

commit 006e004512455cfd4c6965fd5074ea7001d02431
Merge: 1d7238d 95865e5
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Aug 2 14:22:24 2016 +0200

    Merge tag 'upstream/1.2.1'
    
    Upstream version 1.2.1

 .gitignore                                         |   22 +
 .travis.yml                                        |    8 +
 LICENSE                                            |  202 +++
 README.md                                          |   67 +
 RELEASE-NOTES.md                                   |   17 +
 ides/eclipse/formatter.xml                         |  291 ++++
 jctools-benchmarks/.gitignore                      |    4 +
 jctools-benchmarks/README.md                       |   47 +
 jctools-benchmarks/data/SpscChainLengthCompare.ods |  Bin 0 -> 30972 bytes
 jctools-benchmarks/pom.xml                         |   71 +
 .../spsc/BusyConcurrentQueuePerfTest.java          |   91 ++
 .../throughput/spsc/BusyQueuePerfTest.java         |   93 ++
 .../throughput/spsc/ConcurrentQueuePerfTest.java   |   95 ++
 .../handrolled/throughput/spsc/QueuePerfTest.java  |  102 ++
 .../org/jctools/jmh/baseline/BaselinePingPong.java |   44 +
 .../org/jctools/jmh/baseline/ConcQOfferPoll.java   |   52 +
 .../org/jctools/jmh/baseline/QueueOfferPoll.java   |   60 +
 .../jctools/jmh/baseline/SingleThreadedOffer.java  |   45 +
 .../jctools/jmh/baseline/SingleThreadedPoll.java   |   48 +
 .../java/org/jctools/jmh/collections/SetOps.java   |   96 ++
 .../java/org/jctools/jmh/counters/Counter.java     |   14 +
 .../jctools/jmh/counters/CountersBenchmark.java    |   41 +
 .../org/jctools/jmh/counters/CountersFactory.java  |  116 ++
 .../java/org/jctools/jmh/latency/MpqBurstCost.java |  150 +++
 .../org/jctools/jmh/latency/QueueBurstCost.java    |  145 ++
 .../jmh/latency/spsc/MpqRelaxedBurstCost.java      |  137 ++
 .../latency/spsc/RingBurstRoundTripWithGroups.java |  185 +++
 .../spsc/RingCqBurstRoundTripWithGroups.java       |  190 +++
 .../MpqDrainFillThroughputBackoffNone.java         |  184 +++
 .../jmh/throughput/MpqThroughputBackoffNone.java   |  250 ++++
 .../throughput/QueueThroughputBackoffConsume.java  |   28 +
 .../jmh/throughput/QueueThroughputBackoffNano.java |   24 +
 .../jmh/throughput/QueueThroughputBackoffNone.java |  133 ++
 .../throughput/QueueThroughputBackoffYield.java    |   22 +
 .../channels/ChannelThroughputBackoffNone.java     |  181 +++
 .../org/jctools/jmh/throughput/channels/Ping.java  |   22 +
 .../channels/SpscChannelThroughputTest.java        |  118 ++
 .../spsc/ConcurrentQueueThroughputBusy.java        |   69 +
 .../spsc/ConcurrentQueueThroughputYield.java       |   69 +
 .../org/jctools/maps/cat_test/AtomicCounter.java   |    8 +
 .../java/org/jctools/maps/cat_test/CATCounter.java |   11 +
 .../java/org/jctools/maps/cat_test/Counter.java    |   11 +
 .../jctools/maps/cat_test/HandrolledHarness.java   |  224 ++++
 .../org/jctools/maps/cat_test/LockCounter.java     |   16 +
 .../org/jctools/maps/cat_test/RaceyCounter.java    |    7 +
 .../jctools/maps/cat_test/StripeLockCounter.java   |   32 +
 .../jctools/maps/cat_test/StripeUnsafeCounter.java |   21 +
 .../org/jctools/maps/cat_test/SyncCounter.java     |    7 +
 .../org/jctools/maps/cat_test/UnsafeCounter.java   |   46 +
 .../org/jctools/maps/nhbm_test/perf_hash_test.java |  506 +++++++
 .../jctools/maps/nhbm_test/perf_hashlong_test.java |  416 ++++++
 .../org/jctools/maps/nhbm_test/perf_set_test.java  |  464 +++++++
 .../queues/MessagePassingQueueByTypeFactory.java   |   38 +
 .../org/jctools/queues/QueueByTypeFactory.java     |  119 ++
 .../queues/alt/ConcurrentQueueByTypeFactory.java   |   34 +
 jctools-core/.gitignore                            |    5 +
 jctools-core/pom.xml                               |   92 ++
 .../java/org/jctools/queues/BaseLinkedQueue.java   |  244 ++++
 .../jctools/queues/BaseSpscLinkedArrayQueue.java   |  231 ++++
 .../queues/CircularArrayOffsetCalculator.java      |   22 +
 .../queues/ConcurrentCircularArrayQueue.java       |   85 ++
 .../ConcurrentSequencedCircularArrayQueue.java     |   64 +
 .../java/org/jctools/queues/LinkedQueueNode.java   |   64 +
 .../org/jctools/queues/MessagePassingQueue.java    |  281 ++++
 .../java/org/jctools/queues/MpmcArrayQueue.java    |  429 ++++++
 .../java/org/jctools/queues/MpscArrayQueue.java    |  545 ++++++++
 .../org/jctools/queues/MpscChunkedArrayQueue.java  |  601 +++++++++
 .../java/org/jctools/queues/MpscCompoundQueue.java |  275 ++++
 .../java/org/jctools/queues/MpscLinkedQueue.java   |  151 +++
 .../java/org/jctools/queues/MpscLinkedQueue7.java  |   34 +
 .../java/org/jctools/queues/MpscLinkedQueue8.java  |   30 +
 .../PaddedCircularArrayOffsetCalculator.java       |   33 +
 .../main/java/org/jctools/queues/QueueFactory.java |   72 +
 .../jctools/queues/QueueProgressIndicators.java    |   38 +
 .../SparsePaddedCircularArrayOffsetCalculator.java |   31 +
 .../java/org/jctools/queues/SpmcArrayQueue.java    |  386 ++++++
 .../java/org/jctools/queues/SpscArrayQueue.java    |  352 +++++
 .../org/jctools/queues/SpscGrowableArrayQueue.java |  131 ++
 .../java/org/jctools/queues/SpscLinkedQueue.java   |  131 ++
 .../jctools/queues/SpscUnboundedArrayQueue.java    |   71 +
 .../jctools/queues/atomic/AtomicQueueFactory.java  |   62 +
 .../queues/atomic/AtomicReferenceArrayQueue.java   |   73 +
 .../queues/atomic/BaseLinkedAtomicQueue.java       |  107 ++
 .../queues/atomic/LinkedQueueAtomicNode.java       |   53 +
 .../queues/atomic/MpmcAtomicArrayQueue.java        |  199 +++
 .../queues/atomic/MpscAtomicArrayQueue.java        |  260 ++++
 .../queues/atomic/MpscLinkedAtomicQueue.java       |  117 ++
 .../atomic/SequencedAtomicReferenceArrayQueue.java |   45 +
 .../queues/atomic/SpmcAtomicArrayQueue.java        |  167 +++
 .../queues/atomic/SpscAtomicArrayQueue.java        |  135 ++
 .../queues/atomic/SpscLinkedAtomicQueue.java       |  101 ++
 .../atomic/SpscUnboundedAtomicArrayQueue.java      |  251 ++++
 .../main/java/org/jctools/queues/package-info.java |   83 ++
 .../jctools/queues/spec/ConcurrentQueueSpec.java   |   68 +
 .../java/org/jctools/queues/spec/Ordering.java     |   18 +
 .../java/org/jctools/queues/spec/Preference.java   |   18 +
 .../src/main/java/org/jctools/util/JvmInfo.java    |    7 +
 .../src/main/java/org/jctools/util/Pow2.java       |   60 +
 .../main/java/org/jctools/util/UnsafeAccess.java   |   56 +
 .../org/jctools/util/UnsafeRefArrayAccess.java     |  104 ++
 .../queues/MessagePassingQueueSanityTest.java      |  496 +++++++
 .../org/jctools/queues/MpscArrayQueueTest.java     |   47 +
 .../MpscChunkedMessagePassingQueueSanityTest.java  |   33 +
 .../jctools/queues/MpscChunkedQueueSanityTest.java |   26 +
 .../MpscGrowableMessagePassingQueueSanityTest.java |   26 +
 .../queues/MpscGrowableQueueSanityTest.java        |   26 +
 .../MpscOfferBelowThresholdQueueSanityTest.java    |   52 +
 .../java/org/jctools/queues/QueueSanityTest.java   |  335 +++++
 .../org/jctools/queues/SpscArrayQueueTest.java     |   45 +
 .../jctools/queues/SpscLinkedQueueSanityTest.java  |   26 +
 .../queues/atomic/AtomicQueueSanityTest.java       |   46 +
 .../queues/atomic/AtomicSpscArrayQueueTest.java    |   58 +
 .../java/org/jctools/queues/matchers/Matchers.java |   22 +
 .../src/test/java/org/jctools/util/Pow2Test.java   |   29 +
 jctools-experimental/.gitignore                    |    5 +
 jctools-experimental/pom.xml                       |   38 +
 .../main/java/org/jctools/channels/Channel.java    |   58 +
 .../java/org/jctools/channels/ChannelConsumer.java |   29 +
 .../java/org/jctools/channels/ChannelProducer.java |   45 +
 .../java/org/jctools/channels/ChannelReceiver.java |   32 +
 .../OffHeapFixedMessageSizeRingBuffer.java         |  186 +++
 .../jctools/channels/mapping/ClassViewModel.java   |   76 ++
 .../mapping/InvalidInterfaceException.java         |   27 +
 .../java/org/jctools/channels/mapping/Mapper.java  |  117 ++
 .../org/jctools/channels/mapping/Primitive.java    |   84 ++
 .../jctools/channels/mapping/TypeInspector.java    |  129 ++
 .../org/jctools/channels/mapping/Variable.java     |   17 +
 .../org/jctools/channels/mpsc/MpscChannel.java     |  115 ++
 .../jctools/channels/mpsc/MpscChannelConsumer.java |   42 +
 .../jctools/channels/mpsc/MpscChannelProducer.java |   51 +
 .../mpsc/MpscOffHeapFixedSizeRingBuffer.java       |   98 ++
 .../java/org/jctools/channels/proxy/Demo1.java     |    7 +
 .../jctools/channels/proxy/DemoProxyResult.java    |   93 ++
 .../org/jctools/channels/proxy/ProxyChannel.java   |   58 +
 .../channels/proxy/ProxyChannelFactory.java        |    9 +
 .../org/jctools/channels/proxy/package-info.java   |    4 +
 .../org/jctools/channels/spsc/SpscChannel.java     |  116 ++
 .../jctools/channels/spsc/SpscChannelConsumer.java |   42 +
 .../jctools/channels/spsc/SpscChannelProducer.java |   51 +
 .../spsc/SpscOffHeapFixedSizeRingBuffer.java       |  134 ++
 .../main/java/org/jctools/counters/Counter.java    |   17 +
 .../java/org/jctools/counters/CountersFactory.java |   30 +
 .../counters/FixedSizeStripedLongCounter.java      |  135 ++
 .../counters/FixedSizeStripedLongCounterV6.java    |   34 +
 .../counters/FixedSizeStripedLongCounterV8.java    |   26 +
 .../main/java/org/jctools/maps/AbstractEntry.java  |   59 +
 .../java/org/jctools/maps/ConcurrentAutoTable.java |  219 +++
 .../java/org/jctools/maps/NonBlockingHashMap.java  | 1392 ++++++++++++++++++++
 .../org/jctools/maps/NonBlockingHashMapLong.java   | 1206 +++++++++++++++++
 .../java/org/jctools/maps/NonBlockingHashSet.java  |   60 +
 .../jctools/maps/NonBlockingIdentityHashMap.java   | 1284 ++++++++++++++++++
 .../java/org/jctools/maps/NonBlockingSetInt.java   |  487 +++++++
 .../src/main/java/org/jctools/queues/BQueue.java   |  262 ++++
 .../src/main/java/org/jctools/queues/FFBuffer.java |  211 +++
 .../FloatingCountersSpscConcurrentArrayQueue.java  |  230 ++++
 .../InlinedCountersSpscConcurrentArrayQueue.java   |  287 ++++
 .../queues/MpmcConcurrentQueueStateMarkers.java    |  354 +++++
 .../org/jctools/queues/MpscLinkedArrayQueue.java   |  241 ++++
 .../java/org/jctools/queues/MpscOnSpscQueue.java   |  192 +++
 .../jctools/queues/MpscSequencedArrayQueue.java    |  273 ++++
 .../org/jctools/queues/SpscOffHeapIntQueue.java    |  223 ++++
 .../queues/alt/ConcurrentCircularArray.java        |   99 ++
 .../org/jctools/queues/alt/ConcurrentQueue.java    |   45 +
 .../queues/alt/ConcurrentQueueConsumer.java        |   68 +
 .../jctools/queues/alt/ConcurrentQueueFactory.java |   90 ++
 .../queues/alt/ConcurrentQueueProducer.java        |   34 +
 .../alt/ConcurrentSequencedCircularArray.java      |   84 ++
 .../org/jctools/queues/alt/ConsumerFunction.java   |    8 +
 .../queues/alt/MpmcArrayConcurrentQueue.java       |  420 ++++++
 .../org/jctools/queues/alt/ProducerFunction.java   |    8 +
 .../queues/alt/SpscArrayConcurrentQueue.java       |  248 ++++
 .../queues/blocking/BlockingQueueFactory.java      |  184 +++
 .../queues/blocking/McParkTakeStrategy.java        |   68 +
 .../org/jctools/queues/blocking/PutStrategy.java   |   12 +
 .../queues/blocking/ScParkTakeStrategy.java        |   51 +
 .../org/jctools/queues/blocking/TakeStrategy.java  |   12 +
 .../jctools/queues/blocking/YieldPutStrategy.java  |   33 +
 .../jctools/queues/blocking/YieldTakeStrategy.java |   31 +
 .../java/org/jctools/sets/IdentityOpenHashSet.java |  277 ++++
 .../main/java/org/jctools/sets/OpenHashSet.java    |  277 ++++
 .../java/org/jctools/sets/SingleWriterHashSet.java |  309 +++++
 .../java/org/jctools/util/CompilationResult.java   |   53 +
 .../src/main/java/org/jctools/util/LongCell.java   |   23 +
 .../main/java/org/jctools/util/SimpleCompiler.java |   91 ++
 .../org/jctools/util/StringWrappingJavaFile.java   |   54 +
 .../src/main/java/org/jctools/util/Template.java   |  178 +++
 .../org/jctools/util/UnsafeDirectByteBuffer.java   |   92 ++
 .../java/org/jctools/util/VolatileLongCell.java    |   45 +
 .../jctools/channels/ChannelConsumerTemplate.java  |   41 +
 .../jctools/channels/ChannelProducerTemplate.java  |   32 +
 .../jctools/queues/blocking/TemplateBlocking.java  |  104 ++
 .../AbstractOffHeapFixedSizeRingBufferTest.java    |   54 +
 .../channels/mapping/InvalidInterfaceTest.java     |   66 +
 .../org/jctools/channels/mapping/MapperTest.java   |   97 ++
 .../jctools/channels/mapping/StubFlyweight.java    |   28 +
 .../mpsc/MpscOffHeapFixedSizeRingBufferTest.java   |   27 +
 .../org/jctools/channels/spsc/SpscChannelTest.java |  135 ++
 .../spsc/SpscOffHeapFixedSizeRingBufferTest.java   |   27 +
 .../counters/FixedSizeStripedLongCounterTest.java  |   88 ++
 .../org/jctools/maps/nbhm_test/NBHMID_Tester2.java |  578 ++++++++
 .../org/jctools/maps/nbhm_test/NBHML_Tester2.java  |  540 ++++++++
 .../org/jctools/maps/nbhm_test/NBHM_Tester2.java   |  578 ++++++++
 .../org/jctools/maps/nbhs_test/nbhs_tester.java    |  148 +++
 .../org/jctools/maps/nbhs_test/nbsi_tester.java    |  206 +++
 .../queues/alt/ConcurrentQueueSanityTest.java      |  151 +++
 .../queues/blocking/BasicBlockingQueueTest.java    |   39 +
 .../jctools/queues/blocking/BlockingQueueTest.java |  238 ++++
 .../test/java/org/jctools/sets/HashSetTest.java    |  111 ++
 .../test/java/org/jctools/util/CompilerTest.java   |   65 +
 .../test/java/org/jctools/util/TemplateTest.java   |  115 ++
 .../org/jctools/channels/mapping/StubTemplate.java |   27 +
 pom.xml                                            |   99 ++
 212 files changed, 28515 insertions(+)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jctools.git



More information about the pkg-java-commits mailing list