[ 
https://issues.apache.org/jira/browse/HADOOP-10594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benoy Antony updated HADOOP-10594:
----------------------------------

    Attachment: HADOOP-10594.patch

Attaching a patch which makes GROUPS _volatile_.  This enables threads to 
access GROUPS without synchronizing with each other.

> 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)

Reply via email to