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

[leyden] Creating AOT config file crashes in "assert(h_exception->is_a(vmClasses::Throwable_klass())) failed: Exception not subclass of Throwable"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • repo-leyden
    • repo-leyden
    • hotspot

      Creating AOT config file crashes with

      # Internal Error (/home/katya/work/JavaSE/Hotspot/ws/git/leyden.premain/open/src/hotspot/share/interpreter/interpreterRuntime.cpp:615), pid=5118, tid=5119
      # assert(h_exception->is_a(vmClasses::Throwable_klass())) failed: Exception not subclass of Throwable
      #
      # JRE version: Java(TM) SE Runtime Environment (25.0) (fastdebug build 25-internal-LTS-2025-03-31-1644162.katya...)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 25-internal-LTS-2025-03-31-1644162.katya..., mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xfc5503] InterpreterRuntime::exception_handler_for_exception(JavaThread*, oopDesc*)+0x713


      At least the following jck test run in aot mode crashed because of this:
       api/java_lang/classfile/instruction/ThrowInstructionTests.html

            iklam Ioi Lam
            epavlova Ekaterina Pavlova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: