JDK-8265718 : Build failure after JDK-8258414 11u backport
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 11.0.12
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-04-22
  • Updated: 2024-02-09
  • Resolved: 2021-04-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.
JDK 11
11.0.12 b01Fixed
Related Reports
Relates :  
Relates :  
Description
$ CONF=linux-x86_64-normal-server-fastdebug make images

=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_objs_objectSampleCheckpoint.o:
In file included from /home/shade/trunks/jdk-updates-jdk11u-dev/src/hotspot/share/gc/shared/gc_globals.hpp:28,
                 from /home/shade/trunks/jdk-updates-jdk11u-dev/src/hotspot/share/runtime/globals.hpp:28,
                 from /home/shade/trunks/jdk-updates-jdk11u-dev/src/hotspot/share/memory/allocation.hpp:28,
                 from /home/shade/trunks/jdk-updates-jdk11u-dev/src/hotspot/share/classfile/classLoaderData.hpp:28,
                 from /home/shade/trunks/jdk-updates-jdk11u-dev/src/hotspot/share/oops/klass.hpp:28,
                 from /home/shade/trunks/jdk-updates-jdk11u-dev/build/linux-x86_64-normal-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:6,
                 from /home/shade/trunks/jdk-updates-jdk11u-dev/src/hotspot/share/jfr/jfrEvents.hpp:32,
                 from /home/shade/trunks/jdk-updates-jdk11u-dev/src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleCheckpoint.cpp:26:
/home/shade/trunks/jdk-updates-jdk11u-dev/src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleCheckpoint.cpp: In static member function 'static void ObjectSampleCheckpoint::on_rotation(const ObjectSampler*)':
/home/shade/trunks/jdk-updates-jdk11u-dev/src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleCheckpoint.cpp:298:14: error: 'JfrJavaSupport' has not been declared
  298 |   DEBUG_ONLY(JfrJavaSupport::check_java_thread_in_native(thread);)
      |              ^~~~~~~~~~~~~~
/home/shade/trunks/jdk-updates-jdk11u-dev/src/hotspot/share/utilities/macros.hpp:393:26: note: in definition of macro 'DEBUG_ONLY'
  393 | #define DEBUG_ONLY(code) code
      |                          ^~~~


Comments
URL: https://hg.openjdk.java.net/jdk-updates/jdk11u/rev/17b413fd7533 User: goetz Date: 2021-05-05 12:03:09 +0000
05-05-2021

Adding link to JDK-8258414 as that 11u backport caused this. From the looks of it is going to get reverted from 11.0.12 with JDK-8265750.
23-04-2021

URL: https://hg.openjdk.java.net/jdk-updates/jdk11u-dev/rev/17b413fd7533 User: shade Date: 2021-04-22 08:58:11 +0000
22-04-2021

Fix Request (11u) This fixes 11u build failure. This is 11u-specific patch, 11u RFR: https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2021-April/005885.html
22-04-2021