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

C2: Avoid reallocations by pre-sizing lists in post_allocate_copy_removal

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 16
    • hotspot
    • b26

      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).

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

              Created:
              Updated:
              Resolved: