ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jdk8/java/util/concurrent/Exchanger.java
(Generate patch)

Comparing jsr166/src/jdk8/java/util/concurrent/Exchanger.java (file contents):
Revision 1.1 by jsr166, Sat Mar 26 06:22:50 2016 UTC vs.
Revision 1.2 by dl, Sat Mar 26 12:02:03 2016 UTC

# Line 277 | Line 277 | public class Exchanger<V> {
277       * Nodes hold partially exchanged data, plus other per-thread
278       * bookkeeping. Padded via @Contended to reduce memory contention.
279       */
280 <    @jdk.internal.vm.annotation.Contended static final class Node {
280 >    @sun.misc.Contended static final class Node {
281          int index;              // Arena index
282          int bound;              // Last recorded value of Exchanger.bound
283          int collides;           // Number of CAS failures at current bound

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines