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

-XX:UseAVX=0 cause assert(UseAVX) failed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u20, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b14
    • CPU:
      x86
    • OS:
      generic

      Backports

        Description

        $ java -XX:UseAVX=0 -version
        # To suppress the following error report, specify this argument
        # after -XX: or in .hotspotrc: SuppressErrorAt=/assembler_x86.cpp:1769
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (src/cpu/x86/vm/assembler_x86.cpp:1769), pid=7986, tid=2
        # assert(UseAVX) failed:
        #
        # JRE version: (9.0-b10) (build )
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b62-fastdebug mixed mode solaris-amd64 compressed oops)


        On a machine which supports AVX we use vmovdqu() in generate_get_cpu_info(). We should use VM_Version::supports_avx() in the assert.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                kvn Vladimir Kozlov
                Reporter:
                kvn Vladimir Kozlov
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: