Unify allocation code in ContiguousSpace and G1OffsetTableContigSpace

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 9
    • Component/s: hotspot
    • None
    • gc

      After G1OffsetTableContigSpace had to be disconnected from ContiguousSpace the allocation code ({par_,}allocate_impl) and _top pointer had to be duplicated.
      Investigate how these can be re-unified somehow.

      An idea would be to introduce an aggregated value object "class AllocationTop" which keeps track of the _top pointer and has the allocate methods.

            Assignee:
            Unassigned
            Reporter:
            Mikael Gerdin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: