JDK-8203285 : Minimal VM fails to build after JDK-8199712 (Flight Recorder)
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-05-16
  • Updated: 2018-05-21
  • Resolved: 2018-05-16
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 b14Fixed
Related Reports
Relates :  
Relates :  
Description
1) ------------------------------------------------------

In file included from /pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/jfr/jfrEvents.hpp:32:0,
                 from /pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/gc/shared/ageTableTracer.cpp:28:
/pool/buildbot/slaves/sobornost/jdkX/build/build/linux-x86-normal-minimal-fastdebug/hotspot/variant-minimal/gensrc/jfrfiles/jfrEventClasses.hpp:9716:25: error: 'Method' does not name a type
   void set_method(const Method*) { }
                         ^~~~~~
/pool/buildbot/slaves/sobornost/jdkX/build/build/linux-x86-normal-minimal-fastdebug/hotspot/variant-minimal/gensrc/jfrfiles/jfrEventClasses.hpp:9750:11: error: 'Klass' does not name a type
     const Klass*,
           ^~~~~
/pool/buildbot/slaves/sobornost/jdkX/build/build/linux-x86-normal-minimal-fastdebug/hotspot/variant-minimal/gensrc/jfrfiles/jfrEventClasses.hpp:9753:30: error: 'Klass' does not name a type
   void set_parkedClass(const Klass*) { }
                              ^~~~~
/pool/buildbot/slaves/sobornost/jdkX/build/build/linux-x86-normal-minimal-fastdebug/hotspot/variant-minimal/gensrc/jfrfiles/jfrEventClasses.hpp:9763:11: error: 'Klass' does not name a type
     const Klass*,
           ^~~~~
/pool/buildbot/slaves/sobornost/jdkX/build/build/linux-x86-normal-minimal-fastdebug/hotspot/variant-minimal/gensrc/jfrfiles/jfrEventClasses.hpp:9766:31: error: 'Klass' does not name a type
   void set_monitorClass(const Klass*) { }
                               ^~~~~
/pool/buildbot/slaves/sobornost/jdkX/build/build/linux-x86-normal-minimal-fastdebug/hotspot/variant-minimal/gensrc/jfrfiles/jfrEventClasses.hpp:9776:11: error: 'Klass' does not name a type
     const Klass*,
           ^~~~~
/pool/buildbot/slaves/sobornost/jdkX/build/build/linux-x86-normal-minimal-fastdebug/hotspot/variant-minimal/gensrc/jfrfiles/jfrEventClasses.hpp:9781:31: error: 'Klass' does not name a type
   void set_monitorClass(const Klass*) { }
                               ^~~~~
/pool/buildbot/slaves/sobornost/jdkX/build/build/linux-x86-normal-minimal-fastdebug/hotspot/variant-minimal/gensrc/jfrfiles/jfrEventClasses.hpp:9793:11: error: 'Klass' does not name a type
     const Klass*,
           ^~~~~
/pool/buildbot/slaves/sobornost/jdkX/build/build/linux-x86-normal-minimal-fastdebug/hotspot/variant-minimal/gensrc/jfrfiles/jfrEventClasses.hpp:9796:31: error: 'Klass' does not name a type
   void set_monitorClass(const Klass*) { }
                               ^~~~~
/pool/buildbot/slaves/sobornost/jdkX/build/build/linux-x86-normal-minimal-fastdebug/hotspot/variant-minimal/gensrc/jfrfiles/jfrEventClasses.hpp:9806:11: error: 'Klass' does not name a type
     const Klass*,
           ^~~~~

2) ---------------------------------------------------------

* For target hotspot_variant-minimal_libjvm_objs_gcTrace.o:
In file included from /home/shade/jdk-jdk/src/hotspot/share/gc/shared/copyFailedInfo.hpp:28:0,
                 from /home/shade/jdk-jdk/src/hotspot/share/gc/shared/gcTrace.cpp:26:
/home/shade/jdk-jdk/src/hotspot/share/jfr/support/jfrThreadId.hpp:35:9: error: ���u8��� does not name a type
 typedef u8 traceid;
         ^~

3)  ---------------------------------------------------------

/home/shade/jdk-jdk/src/hotspot/share/runtime/java.cpp: In function ���void before_exit(JavaThread*)���:
/home/shade/jdk-jdk/src/hotspot/share/runtime/java.cpp:467:3: error: ���EventThreadEnd��� was not declared in this scope
   EventThreadEnd event;
   ^~~~~~~~~~~~~~
/home/shade/jdk-jdk/src/hotspot/share/runtime/java.cpp:468:7: error: ���event��� was not declared in this scope
   if (event.should_commit()) {
       ^~~~~