You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Bence Kosztolnik (Jira)" <ji...@apache.org> on 2022/10/12 12:41:00 UTC

[jira] [Updated] (YARN-11344) Double checked locking in Configuration

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

Bence Kosztolnik updated YARN-11344:
------------------------------------
    Summary: Double checked locking in Configuration  (was: Double check locking in Configuration)

> Double checked locking in Configuration
> ---------------------------------------
>
>                 Key: YARN-11344
>                 URL: https://issues.apache.org/jira/browse/YARN-11344
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: yarn
>            Reporter: Bence Kosztolnik
>            Priority: Minor
>
> Currently the 
> {code:java}
> org.apache.hadoop.conf.Configuration{code}
> class use synchronised methods in many cases where double check locking would be enough, for example at case of *getProps()* and {*}getOverlay(){*}.
> The class should be refactored to remove the unnecessary locking points. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org