Daryn Sharp created YARN-6682:
---------------------------------

             Summary: Improve performance of AssignmentInformation 
datastructures
                 Key: YARN-6682
                 URL: https://issues.apache.org/jira/browse/YARN-6682
             Project: Hadoop YARN
          Issue Type: Sub-task
    Affects Versions: 2.8.0
            Reporter: Daryn Sharp
            Assignee: Daryn Sharp


{{AssignmentInformation}} is inefficient and creates lots of garbage that 
increase gc pressure.  It creates 3 hashmaps that each contain only 2 
enum-based keys. This requires wrapper node objects, boxing/unboxing of ints, 
and more expensive lookups than simply using primitive arrays indexed by enum 
ordinal.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to