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

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

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b21
    • OS:
      linux

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            pliden Per Liden
            Reporter:
            pliden Per Liden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: