Make os::Linux::sched_getcpu() available even when UseNUMA is false

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 10
    • Affects Version/s: 10
    • Component/s: hotspot
    • None
    • b21
    • linux

      The initialization/availability of os::Linux::sched_getcpu() is today guarded by UseNUMA. While NUMA-related code is currently the only user of sched_getcpu(), this function is useful in many other situations as well. I propose that we initialize os::Linux::sched_getcpu() regardless of whether UseNUMA is enabled or not.

            Assignee:
            Per Liden (Inactive)
            Reporter:
            Per Liden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: