JDK-8145673 : G1RemSetSummary.hpp uses FREE_C_HEAP_ARRAY
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-12-17
  • Updated: 2016-01-28
  • Resolved: 2015-12-18
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.
JDK 9
9 b103Fixed
Related Reports
Relates :  
Description
G1RemSetSummary.hpp uses FREE_C_HEAP_ARRAY which would require (a non-existent) inclusion of memory/allocation.inline.hpp.

As per coding guidelines we are not allowed to include .inline.hpp files in hpp files. Interestingly, at the moment this compiles fine, but causes issues with refactoring.

The solution is to move the FREE_C_HEAP_ARRAY call into the cpp file and include allocation.inline.hpp.