JDK-8285699 : riscv: Provide information when hitting a HaltNode
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 19
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: riscv
  • Submitted: 2022-04-27
  • Updated: 2022-04-29
  • Resolved: 2022-04-29
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 19
19 masterFixed
Related Reports
Relates :  
Description
The code generated in MacroAssembler::stop is indeed grossly bloated with pusha()/popa() and a native call. We would like to follow JDK-8245986, and provide a halt reason when hitting a C2 HaltNode on riscv, and implement it by triggering illegal instruction exceptions.
Comments
Changeset: 94b533a9 Author: Yadong Wang <yadongwang@openjdk.org> Committer: Fei Yang <fyang@openjdk.org> Date: 2022-04-29 03:19:29 +0000 URL: https://git.openjdk.java.net/jdk/commit/94b533a94c97a46181394da5d6a7f4ee8b69a0c4
29-04-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/8442 Date: 2022-04-28 04:03:33 +0000
28-04-2022