Monday, September 16, 2013

Video: Phaser and StampedLock Concurrency Synchronizers by Heinz Kabutz

Come and find out how the Java 8 StampedLock can be used to make your locking 1000x faster and how to use Phaser together with Fork/Join.

The Phaser is a Java 7 synchronizer used to coordinate repeated tasks between several threads. It is very flexible and the interface is easier to use than the older constructs such as CountDownLatch. The StampedLock is a Java 8 optimistic lock mechanism, which allows us to get much better throughput on the reading and even on the writing.

Phaser and StampedLock Concurrency Synchronizers from JavaZone on Vimeo.

Leave a Reply

All Tech News IN © 2011 & Main Blogger .