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

AIX: os::get_summary_cpu_info does not need to call into libperfstat

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b01
    • OS:
      aix

      Description

      The code of os::get_summary_cpu_info in os_aix.cpp calls into the libperfstat wrapper to get an instance of the cpuinfo_t struct filled. But it is only interested in the system/processor version string. This information can directly be acquired from the static _system_configuration.version field and does not need a libperfstat call. Also, libperfstat::get_cpuinfo does not need to maintain a field 'version' because it is not used anywhere else but os::get_summary_cpu_info.

        Attachments

          Activity

            People

            Assignee:
            clanger Christoph Langer
            Reporter:
            clanger Christoph Langer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: