JCTools v3.1.0 Release Notes
Release Date: 2020-08-06 // over 3 years ago-
🚀 This is a minor release with one new feature and several bug fixes.
🐛 Bug fixes:
- 👉 Use
byte
fields for padding (avoid upcoming false sharing problem in JDK 15+ where field ordering has changed) - #289 Add Automatic-Module-Name header to MANIFEST.MF (thanks @vy)
- 📊 #292 Fix inconsistent isEmpty/poll/peek/offer dynamics for SpscLinkedQueue : 5fd5772#diff-b17b0df9e15e7821411b77042876eb02 (thanks @hl845740757 and @franz1981)
- 🛠 Fixed potential for negative queue
size
for indexed queues and similar issue withisEmpty
: 5fd5772#diff-f32b0a7583f04b29affe3c5f0486df4f (thanks @hl845740757 and @franz1981) - 📊 #296 Fix
peek
/relaxedPeek
race withpoll
/offer
in MC queues (thanks @hl845740757 and @franz1981) - #297 Fix inconsistent size of FF based queues causing potential
size()
>capacity()
(thanks @hl845740757) - 📊 #316 Fix
MpscBlockingConsumerArrayQueue::poll(TimeUnit,timeout)
(thanks @philipa , @njhill and @franz1981) - #310 Fix
MpmcUnboundedXaddArrayQueue::peek/relaxedPeek
can load "future" elements (thanks @franz1981)
🆕 New feature:
Thanks to all the contributors, bug reporters and reviewers!
- 👉 Use