# | Line 225 | Line 225 | public class Exchanger<V> { | |
---|---|---|
225 | */ | |
226 | ||
227 | /** | |
228 | < | * The byte distance (as a shift value) between any two used slots |
229 | < | * in the arena. 1 << ASHIFT should be at least cacheline size. |
228 | > | * The index distance (as a shift value) between any two used slots |
229 | > | * in the arena, spacing them out to avoid false sharing. |
230 | */ | |
231 | < | private static final int ASHIFT = 7; |
231 | > | private static final int ASHIFT = 5; |
232 | ||
233 | /** | |
234 | * The maximum supported arena index. The maximum allocatable |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |