JDK-8273440 : Zero: Disable runtime/Unsafe/InternalErrorTest.java
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 17,18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-09-07
  • Updated: 2021-10-04
  • Resolved: 2021-09-08
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 17 JDK 18
17.0.2Fixed 18 b14Fixed
Related Reports
Relates :  
Description
JDK-8191278 added a runtime/Unsafe/InternalErrorTest.java test to verify that SIGBUS during Unsafe copy is converted into the exception. Zero currently crashes this test on ShouldNotCall() in signal handler:

#  Internal Error (/home/shade/trunks/jdk/src/hotspot/os_cpu/linux_zero/os_linux_zero.cpp:155), pid=2752575, tid=2752589
#  Error: ShouldNotCall()

It is unlikely that Zero would implement this functionality, so it seems prudent to disable the test to get clean tier1 for Zero.
Comments
Fix Request (17u) Fixes another tier1 test for Zero. Applies cleanly. Tests pass.
01-10-2021

Changeset: 286a1f6b Author: Aleksey Shipilev <shade@openjdk.org> Date: 2021-09-08 07:44:35 +0000 URL: https://git.openjdk.java.net/jdk/commit/286a1f6b7c6d7c598ced456f1a5f63cac1be8539
08-09-2021