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.
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.
- relates to
-
JDK-8047818 G1 HeapRegions can no longer be ContiguousSpaces
-
- Resolved
-