XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 2.9.0, 3.0.0-alpha4, 2.8.2
    • None
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. YARN-6682.branch-2.8.patch
          5 kB
          Daryn Sharp
        2. YARN-6682.branch-2.patch
          5 kB
          Daryn Sharp
        3. YARN-6682.trunk.patch
          5 kB
          Daryn Sharp

        Activity

          People

            daryn Daryn Sharp
            daryn Daryn Sharp
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: