ZGC: Introduce ZAttachedArray

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 13
    • Affects Version/s: 13
    • Component/s: hotspot
    • gc
    • b13

      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.

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

              Created:
              Updated:
              Resolved: