JDK-8055635 : Missing include in g1RegionToSpaceMapper.hpp results in unresolved symbol of fastdebug build without precompiled headers
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-08-20
  • Updated: 2015-01-21
  • Resolved: 2014-08-20
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 8 JDK 9
8u40Fixed 9 b29Fixed
Related Reports
Relates :  
Description
The VM does not startup because of an unresolved reference to CHeapObj<(MemoryType)5>::delete(void*) for a fastdebug build without precompiled headers on Linux with gcc 4.8.2-16.

The problem is a missing include of allocation.inline.hpp in g1RegionToSpaceMapper.cpp (and allocation.hpp in the hpp file).
Comments
Impact: high -> cannot start VM Likelihood: low -> use non-standard option to compile the code and specific compiler version Workaround: low -> enable precompiled headers (which are standard) HLL -> P4
20-08-2014