JDK-8278885 : Remove Windows ARM64 int8_t workaround in G1
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 19
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • CPU: aarch64
  • Submitted: 2021-12-16
  • Updated: 2022-01-25
  • Resolved: 2022-01-17
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 b06Fixed
Related Reports
Relates :  
Description
JDK-8248238 added an #ifdef directive to the G1HeapRegionAttr class to work around an MSVC code generation bug on ARM64 (https://github.com/openjdk/jdk/blob/9604ee82690f89320614b37bfef4178abc869777/src/hotspot/share/gc/g1/g1HeapRegionAttr.hpp#L35). The bug has been fixed since Visual Studio 2019 16.8.

As the workaround is specific to Windows-ARM64, and building for this platform already requires the VS 2019 toolset (build tools are still heavily under development), it might make sense to remove the workaround and require a VS version of 16.8 or higher.
Comments
Changeset: 7b6738fa Author: Ana Marsh <anamarsh@microsoft.com> Committer: Thomas Schatzl <tschatzl@openjdk.org> Date: 2022-01-17 16:36:43 +0000 URL: https://git.openjdk.java.net/jdk/commit/7b6738fa02023825ed9e602555bd5ed2b87a6ca6
17-01-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/6872 Date: 2021-12-16 23:44:55 +0000
13-01-2022