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

Unify allocation code in ContiguousSpace and G1OffsetTableContigSpace

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 9
    • 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.

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

              Created:
              Updated: