Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8256827

C2: Avoid reallocations by pre-sizing lists in post_allocate_copy_removal

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 16
    • 16
    • hotspot
    • b26

    Description

      By pre-sizing the Node_Lists created in PhaseChaitin::post_allocate_copy_removal we avoid all re-allocations. If lists are allocated to exactly the size needed we might also reduce memory waste (reducing memory used by these structures by up to half).

      Attachments

        Issue Links

          Activity

            People

              redestad Claes Redestad
              redestad Claes Redestad
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: