[
https://issues.apache.org/jira/browse/HADOOP-9980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Junping Du updated HADOOP-9980:
-------------------------------
Description: LightWeightGSet should have a volatile modification field
(like: LightWeightHashSet or LightWeightLinkedSet) that is used to detect
updates while iterating so they can throw a ConcurrentModificationException.
(was: LightWeightGSet should have a volatile modification field (like:
LightWeightHashSet or LightWeight) that is used to detect updates while
iterating so they can throw a ConcurrentModificationException.)
> LightWeightGSet's modification field should be volatile so that detect
> changes by other thread in iteration.
> ------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-9980
> URL: https://issues.apache.org/jira/browse/HADOOP-9980
> Project: Hadoop Common
> Issue Type: Bug
> Components: util
> Reporter: Junping Du
> Assignee: Junping Du
> Fix For: 2.3.0
>
> Attachments: HADOOP-9980.patch
>
>
> LightWeightGSet should have a volatile modification field (like:
> LightWeightHashSet or LightWeightLinkedSet) that is used to detect updates
> while iterating so they can throw a ConcurrentModificationException.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira