Skip to content

Releases: JCTools/JCTools

Rebuild of 4.0.2 for JDK 6 compatibility

07 Feb 10:41
Compare
Choose a tag to compare

Due to an error in the release process of v4.0.2 the binaries were built with JDK11, losing backwards compatibility with JDK6. This is fixed in this new release.

Minor Release 4.0.2

22 Nov 09:57
Compare
Choose a tag to compare

Same code, new bundling post #370

Major Release 4.0.1

08 Sep 09:04
Compare
Choose a tag to compare

This is a major release, following the removal of the QueueFactory, AtomicQueueFactory and org.jctools.queues.spec package(deprecated since 3.0). These classes are still used for testing, but are not part of the release artifacts anymore.
New unpadded queue variants are also included in this release.
Further changes included:

And many improvements to testing and code generation.

3.3.0 Minor release, bug fixes etc

04 Mar 13:15
Compare
Choose a tag to compare

3.3.0

This is a minor release with new features and several bug fixes.

Bug fixes:

  • #334 NBHMLong iterators do not remove NO_KEY (thanks @matteobertozzi)
  • #335 NBHM/Long/Identity iterators only removes keys if values have not changed. Now follow JDK convention.
  • #336 MpscBlockingConsumerArrayQueue: fix race writing to blocked field (thanks @philipa)
  • #339 fill wakeup call can spin forever(or until a consumer is blocked again) on MpscBlockingConsumerArrayQueue

New features:

  • #340 MpscBlockingConsumerArrayQueue provide a new blocking drain variant (thanks @franz1981)

Thanks to all the contributors, bug reporters and reviewers!

3.2.0 Minor Release (bug fixes + features)

27 Nov 08:59
Compare
Choose a tag to compare

This is a minor release with one new feature and several bug fixes.

Bug fixes:

  • #319 Relying on test cases provided by @alefedor (#328) we apply the fix used for #205 to NonBlockingHashMapLong and NonBlockingIdentityHashMap to provide getAndSet like semantics for put and remove.
  • #330 Fix a NonBlockingIdentityHashMap replace bug. During this fix some further work was done to bring the code closer in line to the current state of NonBlockingHashMap

Enhancements:

New features:

  • After long incubation and following a user request (see #321), we move counters (introduced in #93 by @qwwdfsad) into core!
  • Merging some experimental utils and a #264 we add a PaddedAtomicLong, thanks @pveentjer

Thanks to all the contributors, bug reporters and reviewers!

3.1.0 Minor Release (bug fixes)

06 Aug 11:54
Compare
Choose a tag to compare

This is a minor release with one new feature and several bug fixes.

Bug fixes:

New feature:

  • #314 MpscBlockingConsumerArrayQueue::offerIfBelowThreshold is added (thanks @philipa)

Thanks to all the contributors, bug reporters and reviewers!

3.0.0 Major Release

03 Jan 11:17
Compare
Choose a tag to compare

This is a major version as there are some minor API breaking changes which may effect users. Please apply with care and provide feedback. The breaking changes:

  • Removed MpscLinkedQueue7 and MpscLinkedQueue8 and consolidate into parent. This removes the need for the builder method on MpscLinkedQueue.
  • Deprecated QueueFactory and spec package classes. These are not used by any users AFAICT and are only used for testing internally.
  • Removed some internal classes and reduced visibility of internal utilities where practical. The @InternalAPI tagging annotation is also used more extensively to discourage dependency.

We also have some great new queues for y'all to try:

  • #226: XADD unbounded mpsc/mpmc queue: highly scalable linked array queues (from @franz1981)
  • New blocking consumer MPSC (with contributions and bug fixes from @njhill)

Bug fixes:

  • #209: On Arm7, non-volatile long can have unaligned address leading to error
  • #216: Size of SpscGrowableArrayQueue can exceeds max capacity (from @franz1981 PR #218)
  • #241: Protect the producer index in case of OutOfMemoryError (from @franz1981)
  • #244: Long NBHM AssertionError when replacing missing key (thanks @fvlad for reporting and @cliffclick for assistance and review)
  • Fix argument checks on fill/drain methods
  • Fix LGTM warning, potential int overflow bug b467d29, 15d944c, 6367951

Improvements:

  • Don't mark generated linked atomic queues as final (from @kay 9db418c)
  • #211: Implement batching methods on MpmcArrayQueue (from @franz1981)
  • #228: Iterator for MpscArrayQueue and MpscUnboundedArrayQueue (PR #229 from @srdo)
  • Iterator support also available for the *ArrayQueue classes
  • #208: MpscLinkedAtomicQueue can be made not final
  • #237: Add scale to exception message to help debug netty/netty#8916 (from @johnou)

Many other improvements to testing, javadoc, formatting were made with some contributions from @Hearen @JanStureNielsen @nastra thanks!

Bug fix release

11 Mar 13:49
Compare
Choose a tag to compare

PR #202 : Fix NBHM bug in remove/replace where ref equality was used to report val match instead of equals (thanks @henri-tremblay)
PR #206 : Improved javadoc (thanks @franz1981)
Issue #205 : NBHM remove/put getAndSet semantics issue (thanks @fvlad for reporting and @cliffclick for review)
Issue #208 : no need for queues to be final

Further improvements to testing and code style.

Not included in the release, but very much appreciated, are contributions from @franz1981 and @qwwdfsad to the experimental part of JCTools, which may one day get merged into core, and @maseev contribution to integrate build with Coveralls.io.

Bug fix release

25 Sep 21:32
Compare
Choose a tag to compare

PR #193 : Fix API break on release in MpscLinkedAtomicQueue
Issue #194 : Fix MpscCompoundQueue::relaxedOffer bug
Issue #196 : Fix MpscLinkedArray::fill bug
Issue #197 : Fix MpscChunkedQueue:fill bug

Further improvements to testing.
Thanks @Scottmitch and @mlex for reporting issues and helping resolve them!

Minor release

21 Aug 11:04
Compare
Choose a tag to compare

Bug fixes:

  • PR #188 JvmInfo called from Atomic queues invokes Unsafe methods (thanks @kay )

Features:

  • PR #187 + #186 + #185 Atomic queues are now generated from source (thanks @kay )
  • PR #184 + #190 MpscLinked supports a remove method (thanks @Scottmitch )
  • PR #183 Make SpscLinkedArray queues support the MPQ interface (thanks @franz1981 )
  • PR #181 Testing was expanded for NBHM, and minor issue fixed (thanks @qwwdfsad )

Some further improvements to formatting, javadoc and testing and general tending to the garden by @nitsanw