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

assert(SharedSkipVerify || obj->is_oop()) failed: sanity check with MethodHandles test

    XMLWordPrintable

Details

    • generic
    • generic

    Description

      Test
      java/dyn/MethodHandlesTest.java
      fails with

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/tmp/jprt/P1/B/092216.ct232829/source/src/share/vm/runtime/handles.cpp:32), pid=1854, tid=1087961408
      # assert(SharedSkipVerify || obj->is_oop()) failed: sanity check

      Current thread (0x00000000068f3000): JavaThread "MainThread" [_thread_in_vm, id=1957, stack(0x0000000040c8f000,0x0000000040d90000)]

      Stack: [0x0000000040c8f000,0x0000000040d90000], sp=0x0000000040d8bdb0, free space=1011k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xb6ec4c];; VMError::report(outputStream*)+0x116c
      V [libjvm.so+0xb6f01c];; VMError::report_and_die()+0x2dc
      V [libjvm.so+0x58a5b4];; report_vm_error(char const*, int, char const*, char const*)+0x84
      V [libjvm.so+0x68a197];; HandleArea::allocate_handle(oopDesc*)+0xa7
      V [libjvm.so+0x68a925];; Handle::Handle(Thread*, oopDesc*)+0x75
      V [libjvm.so+0xa58223];; SharedRuntime::find_callee_info_helper(JavaThread*, vframeStream&, Bytecodes::Code&, CallInfo&, Thread*)+0x223
      V [libjvm.so+0xa5a92e];; SharedRuntime::find_callee_info(JavaThread*, Bytecodes::Code&, CallInfo&, Thread*)+0x1de
      V [libjvm.so+0xa5aa7c];; SharedRuntime::resolve_sub_helper(JavaThread*, bool, bool, Thread*)+0x10c
      V [libjvm.so+0xa5afb2];; SharedRuntime::resolve_helper(JavaThread*, bool, bool, Thread*)+0x32
      V [libjvm.so+0xa60231];; SharedRuntime::resolve_opt_virtual_call_C(JavaThread*)+0x121
      v ~RuntimeStub::resolve_opt_virtual_call

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      v ~RuntimeStub::resolve_opt_virtual_call
      J test.java.dyn.MethodHandlesTest.testCastFailure()V
      ...

      Attachments

        Issue Links

          Activity

            People

              twisti Christian Thalinger
              nhaustov Nicolay Haustov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: