- All Implemented Interfaces:
 
- java.io.Serializable
 
- Enclosing class:
 
- PAS
 
static final class PAS.UniquifierTable
extends java.util.concurrent.atomic.AtomicLongArray
Base class of fixed-size hash tables for
 uniquification. Opportunistically subclasses
 AtomicLongArray. The high word of each slot is the cached
 massaged hash of an element, and the low word contains its
 index, plus one, to ensure that a zero tab entry means
 empty. The mechanics for this are just folded into the
 main addElements method.
 Each leaf step places source array elements into table,
 Even though this table undergoes a lot of contention when
 elements are concurrently inserted by parallel threads, it is
 generally faster to do this than to have separate tables and
 then merge them.