Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8316886

Remove redundant range check in NUMANodeListHolder::get_node_list_entry

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 23
    • hotspot
    • gc

      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.

            Unassigned Unassigned
            ayang Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: