Introduce os::processor_id() for Linux and Solaris

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 11
    • Affects Version/s: 11
    • Component/s: hotspot
    • None
    • gc
    • b15

        Add os::processor_id() to get the id of the CPU that the caller is executing on.

        We're using this in ZGC to do various CPU-local operations. We currently only need this for Linux and Solaris. Support for additional platforms can be added when needed.

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

                Created:
                Updated:
                Resolved: