JDK-8307945 : Build of Client VM is broken after JDK-8307058
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-05-11
  • Updated: 2023-05-17
  • Resolved: 2023-05-11
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 21
21 b23Fixed
Related Reports
Relates :  
Description
* For target hotspot_variant-client_libjvm_objs_zBarrierSetAssembler_x86.o:
/data/jdk/src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp: In function 'bool is_c2_compilation()': 
/data/jdk/src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp:367:47: error: invalid use of incomplete type 'class CompileTask'
  367 |   return task != nullptr && is_c2_compile(task->comp_level());
      |                                               ^~
In file included from /data/jdk/src/hotspot/share/code/codeCache.hpp:29,
                 from /data/jdk/src/hotspot/share/gc/z/zBarrier.inline.hpp:29,
                 from /data/jdk/src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp:29:
/data/jdk/src/hotspot/share/code/nmethod.hpp:30:7: note: forward declaration of 'class CompileTask'
   30 | class CompileTask;
      |       ^~~~~~~~~~~
/data/jdk/src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp: At global scope:
/data/jdk/src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp:323:12: error: 'int store_fast_path_check_size(MacroAssembler*, Address, bool, Label&)' defined but not used [-Werror=unused-function]
  323 | static int store_fast_path_check_size(MacroAssembler* masm, Address ref_addr, bool is_atomic, Label& medium_path) {
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors

* All command lines available in /data/jdk/build/linux-x86_64-client-fastdebug/make-support/failure-logs.
Comments
Changeset: ce590772 Author: Jie Fu <jiefu@openjdk.org> Date: 2023-05-11 22:35:40 +0000 URL: https://git.openjdk.org/jdk/commit/ce5907727e835cb2bdf9362d7c3ad249cc29d5e7
11-05-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/13934 Date: 2023-05-11 15:13:15 +0000
11-05-2023