JDK-8323602 : RISC-V: compilation failure in src/hotspot/share/runtime/handshake.cpp
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 22
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: riscv
  • Submitted: 2024-01-11
  • Updated: 2024-01-12
  • Resolved: 2024-01-12
Related Reports
Duplicate :  
Description
[2024-01-11T05:44:12,831Z] Compiling up to 8 files for jdk.unsupported.desktop
[2024-01-11T05:47:02,350Z] /opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S10304/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/fedebbd9-6c16-4d3f-b374-a3bfafdcf6e2/runs/3a25075b-9751-4c6e-8764-7e02947d28be/workspace/open/src/hotspot/share/runtime/handshake.cpp: In member function 'HandshakeOperation* HandshakeState::get_op_for_self(bool, bool)':
[2024-01-11T05:47:02,350Z] /opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S10304/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/fedebbd9-6c16-4d3f-b374-a3bfafdcf6e2/runs/3a25075b-9751-4c6e-8764-7e02947d28be/workspace/open/src/hotspot/share/runtime/handshake.cpp:490:37: error: 'class JavaThread' has no member named 'is_disable_suspend'; did you mean 'is_trace_suspend'?
[2024-01-11T05:47:02,350Z]   490 |   if (allow_suspend && _handshakee->is_disable_suspend()) {
[2024-01-11T05:47:02,350Z]       |                                     ^~~~~~~~~~~~~~~~~~
[2024-01-11T05:47:02,350Z]       |                                     is_trace_suspend
[2024-01-11T05:47:02,713Z] lib/CompileJvm.gmk:152: recipe for target '/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S10304/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/fedebbd9-6c16-4d3f-b374-a3bfafdcf6e2/runs/3a25075b-9751-4c6e-8764-7e02947d28be/workspace/build/linux-riscv64-open-cmp-baseline/buildjdk/hotspot/variant-server/libjvm/objs/handshake.o' failed
[2024-01-11T05:47:02,713Z] make[4]: *** [/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S10304/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/fedebbd9-6c16-4d3f-b374-a3bfafdcf6e2/runs/3a25075b-9751-4c6e-8764-7e02947d28be/workspace/build/linux-riscv64-open-cmp-baseline/buildjdk/hotspot/variant-server/libjvm/objs/handshake.o] Error 1
Comments
[~dholmes] - Thanks for taking care of this. I'm not sure how my search for "src/hotspot/share/runtime/handshake.cpp" failed to turn up the earlier bug...
12-01-2024

Thanks [~gcao] the missing backport has just been integrated to JDK 22.
12-01-2024

Hi, I have locally verified that jdk22 release and fastdebug build fine (linux-riscv64 cross build) with fix for https://bugs.openjdk.org/browse/JDK-8322513. Hope that helps.
12-01-2024

Closed as dup of JDK-8322513 which needs backport to JDK 22.
12-01-2024

I thought this was already fixed ... missing ifdef for INCLUDE_JVMTI? Perhaps we are missing a backport.
12-01-2024

[~rehn] - Can someone on the RISC-V team checkout this JDK22 RISC-V build failure.
11-01-2024