[MVT] hotspot crash

Remi Forax forax at univ-mlv.fr
Fri Sep 15 20:33:05 UTC 2017

i'm doing some modifications to my bytecode rewriter, so the generated code has a good chance to be generate an invalid class, but the VM should not crash.

To reproduce download the jar here:

and run 
  java -XX:+EnableMVT -cp test-valuetypified.jar fr.umlv.valuetypify.test.InternalTest



~/java/workspace/mvt/valhalla/build/linux-x86_64-normal-server-release/jdk/bin/java -XX:+EnableMVT -cp test-valuetypified.jar fr.umlv.valuetypify.test.InternalTest
# A fatal error has been detected by the Java Runtime Environment:
#  SIGSEGV (0xb) at pc=0x00007f17dd170907, pid=17320, tid=17321
# JRE version: OpenJDK Runtime Environment (10.0) (build 10-internal+0-adhoc.forax.valhalla)
# Java VM: OpenJDK 64-Bit Server VM (10-internal+0-adhoc.forax.valhalla, mixed mode, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0xbd4907]  ValueKlass::adr_extended_sig() const [clone .constprop.129]+0x7
# Core dump will be written. Default location: Core dumps may be processed with "/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t %P %I" (or dumping to /home/forax/git/valuetypify/core.17320)
# An error report file with more information is saved as:
# /home/forax/git/valuetypify/hs_err_pid17320.log
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
Aborted (core dumped)

More information about the valhalla-dev mailing list