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

Revise signature of numa_get_leaf_groups

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • 22
    • hotspot
    • b17

      It takes an array of `int` and populate it with node-id that is allowed to allocate memory from.

      size_t os::numa_get_leaf_groups(int *ids, size_t size)

      However, a valid node-id is always non-negative, so `uint* ids` in the args is more suitable.

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

              Created:
              Updated:
              Resolved: