java—为什么使用mmap.run()调用IBMITX(IBMTransformationExtender)Map会导致jvm间歇性关闭,生成javacore、jit和snap文件?

cclgggtu  于 2021-08-20  发布在  Java
关注(0)|答案(0)|浏览(246)

我们使用IBMJava8从java代码中调用IBMITXMap(ITX9.0.0.4)。我尝试更改xmx、xms和-xx:maxmetaspacesize,但效果不好。
它会间歇性地导致jvm关闭,而不会抛出任何错误。下面是产生的javacore转储的一部分。

0SECTION       TITLE subcomponent dump routine
NULL           ===============================
1TICHARSET     UTF-8
1TISIGINFO     Dump Event "abort" (00020000) received
1TIDATETIME    Date: 2021/07/08 at 06:59:37:097
1TINANOTIME    System nanotime: 3868428202238014
1TIFILENAME    Javacore filename:    javacore.20210708.065931.28787.0002.txt
1TIREQFLAGS    Request Flags: 0x81 (exclusive+preempt)
1TIPREPSTATE   Prep State: 0x100 (trace_disabled)
1TIPREPINFO    Exclusive VM access not taken: data may not be consistent across javacore sections
NULL           ------------------------------------------------------------------------
0SECTION       GPINFO subcomponent dump routine
NULL           ================================
2XHOSLEVEL     OS Level         : Linux 3.10.0-514.10.2.el7.x86_64
2XHCPUS        Processors -
3XHCPUARCH       Architecture   : amd64
3XHNUMCPUS       How Many       : 1
3XHNUMASUP       NUMA is either not supported or has been disabled by user
NULL
1XHERROR2      Register dump section only produced for SIGSEGV, SIGILL or SIGFPE.
NULL
NULL           ------------------------------------------------------------------------
0SECTION       ENVINFO subcomponent dump routine
NULL           =================================
1CIJAVAVERSION JRE 1.8.0 Linux amd64-64 (build 8.0.5.35 - pxa6480sr5fp35-20190418_01(SR5 FP35))
1CIVMVERSION   20190417_414854
1CIJ9VMVERSION 777635f
1CIJITVERSION  tr.open_20190417_152905_777635f
1CIOMRVERSION  16b77d7_CMPRSS
1CIIBMVERSION  72459d3
1CIJITMODES    JIT enabled, AOT enabled, FSD disabled, HCR enabled
1CIRUNNINGAS   Running as a standalone JVM
1CIVMIDLESTATE VM Idle State: ACTIVE
1CICONTINFO    Running in container : FALSE
1CICGRPINFO    JVM support for cgroups enabled : TRUE
1CISTARTTIME   JVM start time: 2021/07/08 at 06:55:01:638
1CISTARTNANO   JVM start nanotime: 3868152743395853
1CIPROCESSID   Process ID: 28787 (0x7073)
1CICMDLINE     java -Xms2048m -Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -cp extlibs/*:tsRunner.jar TSExecutor
1CIJAVAHOMEDIR Java Home Dir:   /opt/ibm/wsdtx/java
1CIJAVADLLDIR  Java DLL Dir:    /opt/ibm/wsdtx/java/bin

javacore文件中与jvm线程相关的部分

NULL
3XMTHREADINFO      "main" J9VMThread:0x0000000000EF4200, omrthread_t:0x00007FCF30007850, java/lang/Thread:0x00000000F0004648, state:R, prio=5
3XMJAVALTHREAD            (java/lang/Thread getId:0x1, isDaemon:false)
3XMTHREADINFO1            (native thread ID:0x7078, native priority:0x5, native policy:UNKNOWN, vmstate:R, vm thread flags:0x00000020)
3XMTHREADINFO2            (native stack address range from:0x00007FCF377AA000, to:0x00007FCF37FAA000, size:0x800000)
3XMCPUTIME               CPU usage total: 0.611320194 secs, current category="Application"
3XMHEAPALLOC             Heap bytes allocated since last GC cycle=7896456 (0x787D88)
3XMTHREADINFO3           Java callstack:
4XESTACKTRACE                at com/ibm/websphere/dtx/dtxpi/MMap.run(Native Method)
4XESTACKTRACE                at TranslationRequestHandler.messageConversion(TranslationRequestHandler.java:377)
4XESTACKTRACE                at TranslationRequestHandler.handleRequest(TranslationRequestHandler.java:293)
4XESTACKTRACE                at SocketManager.processResponse(SocketManager.java:357)
4XESTACKTRACE                at SocketManager.start(SocketManager.java:263)
4XESTACKTRACE                at TSManager.start(TSManager.java:78)
4XESTACKTRACE                at TSExecutor.main(TSExecutor.java:39)
3XMTHREADINFO3           Native callstack:
4XENATIVESTACK               (0x00007FCF369607D2 [libj9prt29.so+0x4e7d2])

谢谢你的帮助。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题