HDFS-5276. Remove volatile from LightWeightHashSet. (Junping Du via llu)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1531225 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
735d8b27f7
commit
d0aaa5ba9f
|
@ -15,6 +15,8 @@ Trunk (Unreleased)
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
|
|
||||||
|
HDFS-5276. Remove volatile from LightWeightHashSet. (Junping Du via llu)
|
||||||
|
|
||||||
HDFS-4665. Move TestNetworkTopologyWithNodeGroup to common.
|
HDFS-4665. Move TestNetworkTopologyWithNodeGroup to common.
|
||||||
(Junping Du via llu)
|
(Junping Du via llu)
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@ public class LightWeightHashSet<T> implements Collection<T> {
|
||||||
*
|
*
|
||||||
* @see ConcurrentModificationException
|
* @see ConcurrentModificationException
|
||||||
*/
|
*/
|
||||||
protected volatile int modification = 0;
|
protected int modification = 0;
|
||||||
|
|
||||||
private float maxLoadFactor;
|
private float maxLoadFactor;
|
||||||
private float minLoadFactor;
|
private float minLoadFactor;
|
||||||
|
|
Loading…
Reference in New Issue