JDK-8350609 : Cleanup unknown unwind opcode (0xB) for windows
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 17,21,25
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • Submitted: 2025-02-25
  • Updated: 2025-03-27
  • Resolved: 2025-03-24
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 25
25 b16Fixed
Related Reports
Causes :  
Description
There are unknown unwind opcodes (0xB) in Windows intrinsic functions introduced in commit https://github.com/openjdk/jdk17u-dev/commit/9f05c411e6d6bdf612cf0cf8b9fe4ca9ecde50d1#diff-a024df6bcd94607260545e647922261703a652dee1afadb1fa758f6e74a568d1

one such example: "dumpbin.exe /unwindinfo  jsvml.dll" : 

_unwind___svml_atan28_ha_z0_B1_B10: in https://github.com/openjdk/jdk17u-dev/blob/9f05c411e6d6bdf612cf0cf8b9fe4ca9ecde50d1/src/jdk.incubator.vector/windows/native/libsvml/svml_d_atan2_windows_x86.S

              DD         1873409       ;       Unwind version: 1, Unwind flags: None,  Size of prologue: 0x96, Count of codes: 28

              DD         6018198       ;       Opcode 4:  SAVE_NONVOL, register=r13, offset = 0x460 (728)

              DD         4614286       ;       Opcode 8:  SAVE_XMM128, register=XMM6, offset = 0x360 (1120)

              DD         3569795       ;       Opcode 8:  SAVE_XMM128, register=XMM7, offset = 0x4E0 (864)

              DD         4098168       ;       Opcode 8:  SAVE_XMM128, register=XMM8, offset = 0x4E0 (992)

              DD         4364397       ;       Opcode 8:  SAVE_XMM128, register=XMM9, offset = 0x4E0 (1056)

              DD         3844194       ;       Opcode 8:  SAVE_XMM128, register=XMM10, offset = 0x4E0 (928)

              DD         3323991       ;       Opcode 8:  SAVE_XMM128, register=XMM11, offset = 0x4E0 (800)

              DD         3065932       ;       Opcode 8:  SAVE_XMM128, register=XMM12, offset = 0x4E0 (736)

              DD         5167169       ;       Opcode 8:  SAVE_XMM128, register=XMM13, offset = 0x4E0 (1284)

              DD         5433398       ;       Opcode 8:  SAVE_XMM128, register=XMM14, offset = 0x520 (1312)

              DD         4913195       ;       Opcode 8:  SAVE_XMM128, register=XMM15, offset = 0x4A0 (1184)

              DD         11356960     ;       Opcode B:  SAVE_K, register=K4, offset = 0x568 (1384)

              DD         11426583     ;       Opcode B:  SAVE_K, register=K5, offset = 0x570 (1392)

              DD         11469067     ;       Opcode 1 : ALLOC_LARGE, size=0x578 (1400)


Comments
Changeset: a54445f7 Branch: master Author: Dhamoder Nalla <dhanalla@openjdk.org> Committer: Sandhya Viswanathan <sviswanathan@openjdk.org> Date: 2025-03-24 17:40:42 +0000 URL: https://git.openjdk.org/jdk/commit/a54445f789c7e37c03b28e07a7fdaa83672e3edc
24-03-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/23707 Date: 2025-02-20 03:58:17 +0000
25-02-2025