重新定义类后,JVM崩溃,顶部框架为MemberNameTable :: adjust_method_entries

问题描述

重新定义类后,该过程消失了,不确定这是否是jvm错误

以下是崩溃日志。堆栈顶部的显示确实是由于重新定义引起的,但是我不确定原因是什么,希望能对我有所帮助

#
# A Fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fc6c666b321,pid=4831,tid=0x00007fc6837b0700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build 1.8.0_101-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.101-b13 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x8c5321]  MemberNaMetable::adjust_method_entries(InstanceKlass*,bool*)+0x91
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping,try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report,please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

RAX=0x0a09090a0909640a is an unkNown value
RBX=0x00000000b34481a0 is an oop
java.lang.invoke.MemberName 
- klass: 'java/lang/invoke/MemberName'
RCX=0x00000001003b7c28 is pointing into Metadata
RDX=0x00007fc6837af828 is an unkNown value
RSP=0x00007fc6837af5d0 is an unkNown value
RBP=0x00007fc6837af670 is an unkNown value
RSI=0x00000001003b7c28 is pointing into Metadata
RDI=0x00000001003b7c28 is pointing into Metadata
R8 =0x0000000000000003 is an unkNown value
R9 =0x0000000000000001 is an unkNown value
R10=0x0000000000000000 is an unkNown value
R11=0x0000000000000002 is an unkNown value
R12=0x00007fc68072bfe8 is pointing into Metadata
R13=0x0000000000000000 is an unkNown value
R14=0x0000000000000000 is an unkNown value
R15=0x00007fc5d405b500 is an unkNown value


Stack: [0x00007fc6836b0000,0x00007fc6837b1000],sp=0x00007fc6837af5d0,free space=1021k
Native frames: (J=compiled Java code,j=interpreted,Vv=VM code,C=native code)
V  [libjvm.so+0x8c5321]  MemberNaMetable::adjust_method_entries(InstanceKlass*,bool*)+0x91
V  [libjvm.so+0x7af039]  VM_redefineClasses::redefine_single_class(_jclass*,Klass*,Thread*)+0x949
V  [libjvm.so+0x7af54b]  VM_redefineClasses::doit()+0xab
V  [libjvm.so+0xacd405]  VM_Operation::evaluate()+0x55
V  [libjvm.so+0xacb7da]  VMThread::evaluate_operation(VM_Operation*)+0xba
V  [libjvm.so+0xacbb5e]  VMThread::loop()+0x1ce
V  [libjvm.so+0xacbfd0]  VMThread::run()+0x70
V  [libjvm.so+0x924698]  java_start(Thread*)+0x108

VM_Operation (0x00007fc59d7be310): redefineClasses,mode: safepoint,requested by thread 0x00007fc664001800

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)