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

Remove GrowableArray C-Heap version, replace usages with GrowableArrayCHeap

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • hotspot

      We should more clearly separate the C-Heap version from the arena / resource area allocation.

      Advantages:
      - If they are separate subclasses, then we have to do less verification when assigning, copying, allocating etc: fewer mistakes can happen.
      - We can establish a clear separation between: take care of allocation/deallocation yourself (C-Heap) vs. abandon memory and the elements still in the array (arena / resource area).
      - We should not have multiple implementations of the same thing (C-Heap backed array).

            epeter Emanuel Peter
            epeter Emanuel Peter
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: