求解java读写文件压测出现 BufferBlob::StubRoutines (2) 错误

开源之夏第三届火热来袭,高校学生参与赢万元奖金!>>>

求解java读写文件压测出现 BufferBlob::StubRoutines (2) 错误

输出的错误如下

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0x00007f23b10525a2, pid=31769, tid=0x00007f23a0409" target="_blank">09700
#
# JRE version: OpenJDK Runtime Environment (8.0_212-b04) (build 1.8.0_212-b04)
# Java VM: OpenJDK 64-Bit Server VM (25.212-b04 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# v ~BufferBlob::StubRoutines (2)
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /root/testlog/hs_err_pid31769.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
测试逻辑:

1.一个线程不停的写文件 使用MappedByteBuffer

2.另外一个线程文件使用MappedByteBuffer

本地是8G内存的服务器,大约到450G左右的读写量就会出现上述错误,另外也试过运行ulimit -c unlimited之后再测,但core.pid文件里并没有任何打印,gc日志并没有问题,也没也oom

注:每次都是到450G左右就会崩

回答

该评论暂时无法显示,详情咨询 QQ 群:点此入群

请问问题解决了了吗?请教一下如何解决的