wget https://github.com/bytedance/CompoundVM/releases/download/cvm-8.17.3/CompoundVM_8.17.3_linux_x64.tar.gz
tar xf CompoundVM_8.17.3_linux_x64.tar.gz
find . -name "._*" -delete
cd ~/git/jdk8u-dev
jtreg -va -nr -w tmp -jdk:/home/yansendao/JDK/binary/cvm ~/git/jdk8u-dev/jdk/test/jdk/jfr/jcmd/TestJcmdConfigure.java
Running DCMD 'JFR.configure dumppath=/home/yansendao/gerrit/CompoundVM/build/jt-work/manual-run/scratch/dump-path-1373690085131140644' through 'PidJcmdExecutor'
Executing command '[/home/yansendao/JDK/binary/cvm/bin/jcmd, 3044812, JFR.configure dumppath=/home/yansendao/gerrit/CompoundVM/build/jt-work/manual-run/scratch/dump-path-1373690085131140644]'
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007ffff6e5a442, pid=3044812, tid=3044850
#
# JRE version: OpenJDK Runtime Environment ByteDance Testing (17.0.16) (build 17.0.7+7)
# Java VM: OpenJDK 64-Bit Server VM (CompoundVM 8.17.3) ByteDance Testing (17.0.16+0, mixed mode, tiered, compressed oops, compressed class ptrs, parallel gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0xa5a442] LinkResolver::linktime_resolve_static_method(LinkInfo const&, JavaThread*)+0x32
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -F%F -- %E" (or dumping to /home/yansendao/gerrit/CompoundVM/build/jt-work/manual-run/scratch/core.3044812)
#
# An error report file with more information is saved as:
# /home/yansendao/gerrit/CompoundVM/build/jt-work/manual-run/scratch/hs_err_pid3044812.log
#
# If you would like to submit a bug report, please visit:
# https://bytedance.com/java/cvm/bugs
#
测试命令:
测试结果:
hs_err_pid3044812.log