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

Aarch64: remove x86 specifics from os_linux.cpp/hpp/inline.hpp

    Details

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

      Description

      On aarch64 linux there are the methods "rdtsc" and "supports_sse". These are not called on aarch64, and indeed the rdtsc method tries to emit an rdtsc instruction to store the tsc contents in EAX and EDX, none of which exist on aarch64.

      This patch simply cleans them up - they are unused and otherwise cause no harm.

        Attachments

          Activity

            People

            • Assignee:
              smonteith Stuart Monteith
              Reporter:
              smonteith Stuart Monteith
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: