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

VectorAPI jtreg crashes with -XX:UseAVX=0 -XX:MaxVectorSize=8

XMLWordPrintable

    • x86_64
    • generic

      Various VectorAPI tests are crashing with following options

      JAVA_OPTIONS= -XX:UseAVX=0 -XX:MaxVectorSize=8 -Xbatch -XX:-TieredCompilation

      test ByteMaxVectorTests.ABSMaskedByteMaxVectorTests(byte[-i * 5], mask[i % 2]): success
      test ByteMaxVectorTests.ABSMaskedByteMaxVectorTests(byte[i * 5], mask[i % 2]): success

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007812197e0878, pid=86610, tid=86626
      #
      # JRE version: Java(TM) SE Runtime Environment (24.0+8) (fastdebug build 24-ea+8-851)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 24-ea+8-851, mixed mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x17e0878] Type::has_memory() const+0x8

      Current CompileTask:
      C2:2127 766 % b ByteMaxVectorTests::ABSMaskedByteMaxVectorTests @ 82 (151 bytes)

      Stack: [0x00007811f5500000,0x00007811f5600000], sp=0x00007811f55fb8b0, free space=1006k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x17e0878] Type::has_memory() const+0x8
      V [libjvm.so+0xd62ad7] PhaseCFG::global_code_motion()+0x407
      V [libjvm.so+0xd65821] PhaseCFG::do_global_code_motion()+0x51
      V [libjvm.so+0x9e4d44] Compile::Code_Gen()+0x2a4
      V [libjvm.so+0x9e7b9c] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1bec
      V [libjvm.so+0x8354d5] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1d5
      V [libjvm.so+0x9f36f8] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x928
      V [libjvm.so+0x9f4388] CompileBroker::compiler_thread_loop()+0x478
      V [libjvm.so+0xe9cbac] JavaThread::thread_main_inner()+0xcc
      V [libjvm.so+0x17bd2e6] Thread::call_run()+0xb6
      V [libjvm.so+0x14a5167] thread_native_entry(Thread*)+0x127
      C [libc.so.6+0x9ca94]

            jbhateja Jatin Bhateja
            jbhateja Jatin Bhateja
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: