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

Aarch64: Move linux code out from generic CPU feature detection

    XMLWordPrintable

Details

    • b18
    • aarch64
    • linux

    Backports

      Description

        https://mail.openjdk.java.net/pipermail/aarch64-port-dev/2020-September/009690.html

        CPU feature detection in cpu/aarch64 assumes running on Linux. As a preparation for support of non-Linux AArch64 systems (i.e. windows-aarch64), Linux-specific code should go to os_cpu/linux_aarch64/vm_version_xxx.cpp.

        There is also a chance to clean up a bit:
        1. CPU features detection stub can be optimized
        2. dcpop feature is parsed from /proc/cpuinfo, although it is also available in HWCAP vector.
        3. AArch64 Feature_Flags implicitly mirrors of Linux HWCAP

        Attachments

          Issue Links

            Activity

              People

                akozlov Anton Kozlov
                akozlov Anton Kozlov
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: