JDK-8316886 : Remove redundant range check in NUMANodeListHolder::get_node_list_entry
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 23
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2023-09-25
  • Updated: 2024-01-26
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.
Other
tbdUnresolved
Related Reports
Blocks :  
Relates :  
Description
In `os::numa_get_leaf_groups` of `os_windows.cpp`, `get_node_list_entry` is called with proper bound check, so it's redundant to check for out-of-index again inside the callee.

Other callers of `get_node_list_entry` also provide the same guarantee.
Comments
Runtime Triage: moving this issue since blocking issue JDK-8244065 is assigned to GC.
24-01-2024

Should probably be done after JDK-8244065 so that the patch can be properly tested.
25-09-2023