JDK-8048183 : Unify allocation code in ContiguousSpace and G1OffsetTableContigSpace
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2014-06-26
  • Updated: 2019-02-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
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.