CPUFeatures: check performance regression of AVX_Fast_Unaligned_Load

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • repo-crac
    • Affects Version/s: repo-crac
    • Component/s: hotspot
    • None

      A regression by JDK-8372863.

      On AWS m1.small:

      bin/java -XX:+ShowCPUFeatures --version
      This machine's CPU features are: -XX:CPUFeatures=0x142000070bbdf,0x380
      CPU features being used are: -XX:CPUFeatures=0x142000070bbdf,0x380
      Re-exec of java with new environment variable: GLIBC_TUNABLES=:glibc.cpu.hwcaps=,-AVX_Fast_Unaligned_Load
      This machine's CPU features are: -XX:CPUFeatures=0x142000070bbdf,0x380
      CPU features being used are: -XX:CPUFeatures=0x142000070bbdf,0x380
      openjdk 25-internal 2025-09-16
      OpenJDK Runtime Environment (fastdebug build 25-internal-adhoc.azul.crac-git)
      OpenJDK 64-Bit Server VM (fastdebug build 25-internal-adhoc.azul.crac-git, mixed mode, sharing)

      That is a needless re-exec.

            Assignee:
            Jan Kratochvil
            Reporter:
            Jan Kratochvil
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: