JDK-8315550 : G1: Fix -Wconversion warnings in g1NUMA
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 22
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-09-01
  • Updated: 2023-09-18
  • Resolved: 2023-09-12
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 22
22 b15Fixed
Related Reports
Relates :  
Relates :  
Description
Inspecting the implementation of `os::numa_get_leaf_groups`, one can see all node-id are non-negative, iterated from 0 to highest_node_number.

Therefore, use `uint` to record node-id.
Comments
Changeset: 94800781 Author: Albert Mingkun Yang <ayang@openjdk.org> Date: 2023-09-12 07:40:29 +0000 URL: https://git.openjdk.org/jdk/commit/94800781eae192d3e82f5635d4aad165f11eabc1
12-09-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/15541 Date: 2023-09-01 15:48:25 +0000
01-09-2023