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

assert(c == Bytecodes::_putfield) failed: must be putfield

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 7, 8, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b128
    • Verification:
      Not verified

      Backports

        Description

        hotspot/src/share/vm/interpreter/rewriter.cpp:436), pid=31065, tid=9400
        # assert(c == Bytecodes::_putfield) failed: must be putfield

        Current thread (0xd08f0400): JavaThread "Thread-42908" daemon [_thread_in_vm, id=9400, stack(0xcfbaf000,0xcfc00000)]

        Stack: [0xcfbaf000,0xcfc00000], sp=0xcfbfe730, free space=317k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x14aea37] VMError::report_and_die(int, char const*, char const*, char*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned int)+0x137
        V [libjvm.so+0x14af730] VMError::report_and_die(Thread*, char const*, int, char const*, char const*, char*)+0x30
        V [libjvm.so+0x932220] report_vm_error(char const*, int, char const*, char const*, ...)+0x60
        V [libjvm.so+0x12c5a7c] Rewriter::scan_method(Method*, bool, bool*)+0xcbc
        V [libjvm.so+0x12c5bc5] Rewriter::rewrite_bytecodes(Thread*)+0xe5
        V [libjvm.so+0x12c6e82] Rewriter::Rewriter(instanceKlassHandle, constantPoolHandle const&, Array<Method*>*, Thread*)+0x702
        V [libjvm.so+0x12c7e50] Rewriter::rewrite(instanceKlassHandle, Thread*)+0x140
        V [libjvm.so+0xc45c21] InstanceKlass::rewrite_class(Thread*)+0xa1
        V [libjvm.so+0xc4c72f] InstanceKlass::link_class_impl(instanceKlassHandle, bool, Thread*)+0x50f
        V [libjvm.so+0xc4c99a] InstanceKlass::link_class(Thread*)+0xca
        V [libjvm.so+0xdd3547] get_class_declared_methods_helper(JNIEnv_*, _jclass*, unsigned char, bool, Klass*, Thread*)+0x1f7
        V [libjvm.so+0xde6ad0] JVM_GetClassDeclaredConstructors+0x100
        J 1072 java.lang.Class.getDeclaredConstructors0(Z)[Ljava/lang/reflect/Constructor; java.base@9-internal (0 bytes) @ 0xf2c5e649 [0xf2c5e5c0+0x00000089]
        J 1071 C2 java.lang.Class.privateGetDeclaredConstructors(Z)[Ljava/lang/reflect/Constructor; java.base@9-internal (82 bytes) @ 0xf2c79060 [0xf2c78fe0+0x00000080]
        J 1229 C2 java.lang.Class.newInstance()Ljava/lang/Object; java.base@9-internal (147 bytes) @ 0xf2cc88b0 [0xf2cc8800+0x000000b0]
        J 873 C2 vm.mlvm.anonloader.share.StressClassLoadingTest$1.run()V (128 bytes) @ 0xf2c266d4 [0xf2c265a0+0x00000134]
        v ~StubRoutines::call_stub
        V [libjvm.so+0xc92241] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x761
        V [libjvm.so+0x117b7c9] os::os_exception_wrapper(void (*)(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*), JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x19
        V [libjvm.so+0xc8fd58] JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*)+0x2d8
        V [libjvm.so+0xc8ff5e] JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*)+0x8e
        V [libjvm.so+0xdd0f47] thread_entry(JavaThread*, Thread*)+0xa7
        V [libjvm.so+0x1417320] JavaThread::thread_main_inner()+0x220
        V [libjvm.so+0x14175df] JavaThread::run()+0x1ef
        V [libjvm.so+0x117ed94] thread_native_entry(Thread*)+0x124
        C [libpthread.so.0+0x6bc9]
        C [libc.so.6+0xe2c9e] clone+0x5e

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  coleenp Coleen Phillimore
                  Reporter:
                  jprovino Joseph Provino (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: