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

[MVT] VM crashes with "assert(k != __null && !(((ThreadShadow*)__the_thread__)->has_pending_exception())) failed: can resolve klass?"

    Details

      Description

      # Internal Error (/oracle/valhalla/hotspot/src/share/vm/runtime/sharedRuntime.cpp:2738), pid=32739, tid=32740
      # assert(k != __null && !(((ThreadShadow*)__the_thread__)->has_pending_exception())) failed: can resolve klass?

      Stack: [0x00007f02ac6d7000,0x00007f02ac7d8000], sp=0x00007f02ac7d56c0, free space=1017k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x17c043c] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x18c
      V [libjvm.so+0x17c125f] VMError::report_and_die(Thread*, char const*, int, char const*, char const*, __va_list_tag*)+0x2f
      V [libjvm.so+0xb5ba32] report_vm_error(char const*, int, char const*, char const*, ...)+0x112
      V [libjvm.so+0x15d70c9] AdapterHandlerLibrary::get_adapter0(methodHandle const&)+0x4b9
      V [libjvm.so+0x15d7c6b] AdapterHandlerLibrary::get_adapter(methodHandle const&)+0x2b
      V [libjvm.so+0x1348768] Method::make_adapters(methodHandle const&, Thread*)+0x18
      V [libjvm.so+0x1349676] Method::link_method(methodHandle const&, Thread*)+0x196
      V [libjvm.so+0xeb383b] InstanceKlass::link_methods(Thread*)+0x4b
      V [libjvm.so+0xeb618b] InstanceKlass::link_class_impl(bool, Thread*) [clone .part.168]+0xa0b
      V [libjvm.so+0xeb6417] InstanceKlass::link_class_impl(bool, Thread*)+0xc7
      V [libjvm.so+0xeb6772] InstanceKlass::link_class(Thread*)+0x72
      V [libjvm.so+0xfb25a6] get_class_declared_methods_helper(JNIEnv_*, _jclass*, unsigned char, bool, Klass*, Thread*)+0x226
      V [libjvm.so+0xfc61a2] JVM_GetClassDeclaredMethods+0x102

      Reported by Remi Forax:
      http://mail.openjdk.java.net/pipermail/valhalla-dev/2017-September/003286.html

        Attachments

          Activity

            People

            • Assignee:
              thartmann Tobias Hartmann
              Reporter:
              thartmann Tobias Hartmann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: