422 |
|
return table; |
423 |
|
} |
424 |
|
|
425 |
< |
/* |
425 |
> |
/** |
426 |
|
* Reclassifies nodes in each bin to new table. Because we are |
427 |
|
* using power-of-two expansion, the elements from each bin must |
428 |
|
* either stay at same index, or move with a power of two |
1622 |
|
throws java.io.IOException, ClassNotFoundException { |
1623 |
|
s.defaultReadObject(); |
1624 |
|
this.segments = null; // unneeded |
1625 |
< |
// initalize transient final field |
1625 |
> |
// initialize transient final field |
1626 |
|
UNSAFE.putObjectVolatile(this, counterOffset, new LongAdder()); |
1627 |
|
this.targetCapacity = DEFAULT_CAPACITY; |
1628 |
|
|