JDK-8098552 : 8079792 breaks Zero builds without precompiled headers
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-06-15
  • Updated: 2015-09-10
  • Resolved: 2015-06-15
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 b72Fixed
Related Reports
Relates :  
Description
This was detected by the Zero no precompiled headers builder here:
http://builder.classpath.org/jenkins/job/OpenJDK9_hs_rt_Zero_no_pch/9/console

The relevant compile error is:

In file included from /var/lib/jenkins/jobs/OpenJDK9_hs_rt_Zero_no_pch/workspace/openjdk9/hs-rt/hotspot/src/share/vm/gc/g1/g1BiasedArray.cpp:26:0:
/var/lib/jenkins/jobs/OpenJDK9_hs_rt_Zero_no_pch/workspace/openjdk9/hs-rt/hotspot/src/share/vm/gc/g1/g1BiasedArray.hpp:148:23: error: ���MemRegion��� has not been declared
/var/lib/jenkins/jobs/OpenJDK9_hs_rt_Zero_no_pch/workspace/openjdk9/hs-rt/hotspot/src/share/vm/gc/g1/g1BiasedArray.hpp: In member function ���void G1BiasedMappedArray<T>::set_by_address(int, T)���:
/var/lib/jenkins/jobs/OpenJDK9_hs_rt_Zero_no_pch/workspace/openjdk9/hs-rt/hotspot/src/share/vm/gc/g1/g1BiasedArray.hpp:149:44: error: request for member ���start��� in ���range���, which is of non-class type ���int���
/var/lib/jenkins/jobs/OpenJDK9_hs_rt_Zero_no_pch/workspace/openjdk9/hs-rt/hotspot/src/share/vm/gc/g1/g1BiasedArray.hpp:150:43: error: request for member ���last��� in ���range���, which is of non-class type ���int���
make[8]: *** [g1BiasedArray.o] Error 1
make[8]: *** Waiting for unfinished jobs....

It seems the patch for JDK-8079792 introduced this.
Comments
Review thread: http://mail.openjdk.java.net/pipermail/hotspot-dev/2015-June/018954.html
15-06-2015