hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BELUGA BEHR (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-8878) Remove StringBuffer from ManagedParentQueue.java
Date Mon, 15 Oct 2018 21:26:00 GMT
BELUGA BEHR created YARN-8878:
---------------------------------

             Summary: Remove StringBuffer from ManagedParentQueue.java
                 Key: YARN-8878
                 URL: https://issues.apache.org/jira/browse/YARN-8878
             Project: Hadoop YARN
          Issue Type: Improvement
          Components: resourcemanager
    Affects Versions: 3.2.0
            Reporter: BELUGA BEHR
         Attachments: YARN-8878.1.patch

Remove all {{StringBuffer}} references from the class {{ManagedParentQueue}}.  {{StringBuffer}}
are synchronized and should be instead replaced with the non-synchronized {{StringBuilder}}.
However, in this case, just use {{SLF4J}} parameter logging.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message