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

assert(is_virtual()) failed: type check

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      A DESCRIPTION OF THE PROBLEM :
      The issue reported by JDK-8255058 still exists in JDK8.

      Reproduce:
      $ java -Xcomp -XX:+PinAllInstructions Test

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/home/user/jdk_source/jdk8u/hotspot/src/share/vm/c1/c1_LIR.hpp:429), pid=73951, tid=0x00007f4d3d75c700
      # assert(is_virtual()) failed: type check
      #
      # JRE version: OpenJDK Runtime Environment (8.0) (build 1.8.0-internal-fastdebug-user_2022_03_11_16_03-b00)
      # Java VM: OpenJDK 64-Bit Server VM (25.71-b00-fastdebug compiled mode linux-amd64 compressed oops)
      # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      --------------- T H R E A D ---------------

      Current thread (0x00007f4ea022c000): JavaThread "C1 CompilerThread12" daemon [_thread_in_native, id=74043, stack(0x00007f4d3d65d000,0x00007f4d3d75d000)]

      Stack: [0x00007f4d3d65d000,0x00007f4d3d75d000], sp=0x00007f4d3d75a900, free space=1014k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x121fcac] VMError::report_and_die()+0x2ec
      V [libjvm.so+0x797f81] report_vm_error(char const*, int, char const*, char const*)+0x61
      V [libjvm.so+0x522612] LIR_OprDesc::vreg_number() const+0x52
      V [libjvm.so+0x53f09a] LinearScan::resolve_exception_edge(XHandler*, int, int, Phi*, MoveResolver&) [clone .part.213]+0xba
      V [libjvm.so+0x553a80] LinearScan::resolve_exception_edge(XHandler*, int, MoveResolver&)+0x490
      V [libjvm.so+0x553f4f] LinearScan::resolve_exception_handlers()+0x41f
      V [libjvm.so+0x554eae] LinearScan::do_linear_scan()+0x17e
      V [libjvm.so+0x49e7cf] Compilation::emit_lir()+0xa4f
      V [libjvm.so+0x4a1090] Compilation::compile_java_method()+0x700
      V [libjvm.so+0x4a15da] Compilation::compile_method()+0x7a
      V [libjvm.so+0x4a1dbe] Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*)+0x3ae
      V [libjvm.so+0x4a28ef] Compiler::compile_method(ciEnv*, ciMethod*, int)+0x18f
      V [libjvm.so+0x70bdf2] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x8b2
      V [libjvm.so+0x70d3e0] CompileBroker::compiler_thread_loop()+0x710
      V [libjvm.so+0x118b188] JavaThread::thread_main_inner()+0x1c8
      V [libjvm.so+0x118b54d] JavaThread::run()+0x37d
      V [libjvm.so+0xf19ca2] java_start(Thread*)+0x102
      C [libpthread.so.0+0x76db] start_thread+0xdb


      Current CompileTask:
      C1: 2350 472 s!b 3 java.io.FileDescriptor::closeAll (215 bytes)


      ---------- BEGIN SOURCE ----------
      Download TestPinAllInstructions.zip from:
      https://drive.google.com/file/d/1J9g5uIbtWndzkJk5v-B7X8zzF4rtvDpO/view?usp=sharing
      ---------- END SOURCE ----------

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: