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

ZGC: Introduce ZAttachedArray

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 13
    • 13
    • hotspot
    • gc
    • b13

    Description

      Introduce ZAttachedArray, a utility class to help allocating an object of type A together with an variable sized array with elements of type B in a single allocation. This reduced the number of allocations needed, and avoids an indirection to access the array. Useful for heavily used data structures, such as ZForwarding and ZNMethodData.

      Attachments

        Activity

          People

            pliden Per Liden (Inactive)
            pliden Per Liden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: