JDK-8038181 : Can't build product VM without precompiled header
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: x86
  • Submitted: 2014-03-22
  • Updated: 2014-07-29
  • Resolved: 2014-03-22
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.
8u20Fixed 9 b08Fixed
Related Reports
Relates :  
Note, by default we use precompiled header. It is not normal case.


When trying to execute built product VM produce:

On solaris:
java -Xcomp t
Error: dl failure on line 744
Error: failed jre/lib/i386/server/libjvm.so, because jre/lib/i386/server/libjvm.so: undefined symbol: _ZN8CHeapObjILt1792EEdlEPv

or on Mac:

Undefined symbols for architecture x86_64:
  "CHeapObj<(unsigned short)1792>::operator delete(void*)", referenced from:
      RTMLockingCalculationTask::task() in rtmLocking.o
ld: symbol(s) not found for architecture x86_64