HDFS-4522. LightWeightGSet expects incrementing a volatile to be atomic. Contributed by Colin Patrick McCabe.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1455780 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
86a940f7ad
commit
7c8419f14f
@ -396,6 +396,9 @@ Release 2.0.5-beta - UNRELEASED
|
||||
HDFS-4592. Default values for access time precision are out of sync between
|
||||
hdfs-default.xml and the code. (atm)
|
||||
|
||||
HDFS-4522. LightWeightGSet expects incrementing a volatile to be atomic.
|
||||
(Colin Patrick McCabe via atm)
|
||||
|
||||
Release 2.0.4-alpha - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -72,7 +72,7 @@ public static interface LinkedElement {
|
||||
/** Modification version for fail-fast.
|
||||
* @see ConcurrentModificationException
|
||||
*/
|
||||
private volatile int modification = 0;
|
||||
private int modification = 0;
|
||||
|
||||
/**
|
||||
* @param recommended_length Recommended size of the internal array.
|
||||
|
Loading…
Reference in New Issue
Block a user