# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |