[
https://issues.apache.org/jira/browse/HADOOP-10594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14007969#comment-14007969
]
Benoy Antony commented on HADOOP-10594:
---------------------------------------
[~daryn], could you please review if this patch is beneficial ?
> Improve Concurrency in Groups
> -----------------------------
>
> Key: HADOOP-10594
> URL: https://issues.apache.org/jira/browse/HADOOP-10594
> Project: Hadoop Common
> Issue Type: Sub-task
> Reporter: Benoy Antony
> Assignee: Benoy Antony
> Attachments: HADOOP-10594.patch
>
>
> The static field GROUPS in Groups can be accessed by holding a lock only.
> This object is effectively immutable after construction and hence can safely
> published using a volatile field. This enables threads to access this GROUPS
> object without holding lock
--
This message was sent by Atlassian JIRA
(v6.2#6252)