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

AArch64: CPU description should refer DMI

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 16, 17
    • hotspot
    • b19
    • aarch64
    • linux

      `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.

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

              Created:
              Updated:
              Resolved: