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

AArch64: CPU description should refer DMI

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16, 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b19
    • CPU:
      aarch64
    • OS:
      linux

      Description

      `jdk.CPUInformation` event on AArch64 has valid CPU description in JDK-8262491, however it does not work on UEFI booted machine.

      JDK-8262491 refers device tree to get board name, however it does not exist on UEFI. We need to refer DMI.
      However we need to have root privilege, so we refer /sys/devices/virtual/dmi/id to avoid it.

      We can get board name from /sys/devices/virtual/dmi/id/board_name, but some machine set empty string to it. So we will refer /sys/devices/virtual/dmi/id/product_name as a fallback.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ysuenaga Yasumasa Suenaga
              Reporter:
              ysuenaga Yasumasa Suenaga
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: