JDK-8246482 : Build failures with +JFR -PCH
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 8-aarch64
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-06-03
  • Updated: 2024-01-24
  • Resolved: 2020-06-04
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 Other
8-aarch64Fixed openjdk8u292Fixed
Related Reports
Relates :  
Description
There is a build failure in aarch64-port/jdk8u-shenandoah when both --enable-jfr and --disable-precompiled-headers are supplied.

.../hotspot/src/share/vm/jfr/writers/jfrEncoders.hpp: In static member function 'static size_t BigEndianEncoderImpl::encode(T, u1*)':
.../hotspot/src/share/vm/jfr/writers/jfrEncoders.hpp:91:8: error: 'Bytes' has not been declared
        Bytes::put_Java_u2(dest, value);
        ^~~~~
.../build/hotspot/src/share/vm/jfr/writers/jfrEncoders.hpp:95:8: error: 'Bytes' has not been declared
        Bytes::put_Java_u4(dest, value);
        ^~~~~
.../hotspot/src/share/vm/jfr/writers/jfrEncoders.hpp:99:8: error: 'Bytes' has not been declared
        Bytes::put_Java_u8(dest, value);
        ^~~~~

Another one is is Shenandoah-specific, already fixed in shenandoah/jdk8 repo, and would come with the merge.
  https://mail.openjdk.java.net/pipermail/shenandoah-dev/2020-June/012413.html
  https://hg.openjdk.java.net/shenandoah/jdk8/hotspot/rev/e16a3f855bf3
Comments
http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/hotspot/rev/963a9097e533
04-06-2020