The Disruptor version 2.10 has been released. It is available from the Google Code download page and has been submitted to Maven central.
Changes
- Remove deprecated timeout methods.
- Added OSGI metadata to jar file.
- Removed PaddedAtomicLong and use Sequence in all places.
- Fix various generics warnings.
- Change Sequence implementation to work around IBM JDK bug and improve performance by ~10%.
- Add a remainingCapacity() call to the Sequencer class.
5 comments:
Why was PaddedAtomicLong removed?
Just found this as a possible answer to why PaddedAtomicLong was removed:
http://mechanical-sympathy.blogspot.co.uk/2011/08/false-sharing-java-7.html
It seems that Java 7 behaves differently to previous versions so Padding does not work like it used to.
The point of the padding is to prevent more than one thread sharing the same cache line and in so doing remove contention.
Sequence and PaddedAtomicLong have the same role (cache friendly atomic counter), so it was a refactoring toward a common implementation.
Hi Michael ,
Great Blog! Is there an email address I can contact you in private?
mikeb01 ot gmail dat com
Post a Comment