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

SymbolPropertyEntry::set_method_type fails with assert

    XMLWordPrintable

Details

    • b13

    Backports

      Description

        Running tools/jpackage/share/jdk/jpackage/tests/AppVersionTest.java with -XX:+FullGCALot on macOS aarch64 triggers the following assert:

        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/Users/tohartma/jdk/open/src/hotspot/share/oops/oopHandle.hpp:53), pid=27741, tid=14343
        # assert(is_empty() || copy.is_empty()) failed: can only copy if empty

        Stack: [0x0000000172384000,0x0000000172587000], sp=0x00000001725857d0, free space=2053k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.dylib+0x10c41f8] VMError::report_and_die(int, char const*, char const*, char*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x5d8
        V [libjvm.dylib+0x10c4930] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, char*)+0x40
        V [libjvm.dylib+0x5b5414] report_vm_error(char const*, int, char const*, char const*, ...)+0x80
        V [libjvm.dylib+0x664630] SymbolPropertyEntry::set_method_type(oop)+0xb4
        V [libjvm.dylib+0xfe1274] SystemDictionary::find_method_handle_type(Symbol*, Klass*, JavaThread*)+0x1074
        V [libjvm.dylib+0x59fa58] ConstantPool::resolve_constant_at_impl(constantPoolHandle const&, int, int, bool*, JavaThread*)+0xdfc
        V [libjvm.dylib+0x5a0d6c] ConstantPool::copy_bootstrap_arguments_at_impl(constantPoolHandle const&, int, int, int, objArrayHandle, int, bool, Handle, JavaThread*)+0x3f8
        V [libjvm.dylib+0x36bd18] BootstrapInfo::resolve_args(JavaThread*)+0x6c8
        V [libjvm.dylib+0x36b4cc] BootstrapInfo::resolve_bsm(JavaThread*)+0x520
        V [libjvm.dylib+0xfe2538] SystemDictionary::invoke_bootstrap_method(BootstrapInfo&, JavaThread*)+0x3c
        V [libjvm.dylib+0xbdf5c0] LinkResolver::resolve_dynamic_call(CallInfo&, BootstrapInfo&, JavaThread*)+0x34
        V [libjvm.dylib+0xbdea84] LinkResolver::resolve_invokedynamic(CallInfo&, constantPoolHandle const&, int, JavaThread*)+0xb8
        V [libjvm.dylib+0x89837c] InterpreterRuntime::resolve_invokedynamic(JavaThread*)+0x1d4
        V [libjvm.dylib+0x898674] InterpreterRuntime::resolve_from_cache(JavaThread*, Bytecodes::Code)+0x268

        Code/Assert was introduced by JDK-8249822.

        [~dlong] found this.

        Attachments

          Issue Links

            Activity

              People

                coleenp Coleen Phillimore
                thartmann Tobias Hartmann
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: