[MVT] hotspot crash
Remi Forax
forax at univ-mlv.fr
Fri Sep 15 20:47:54 UTC 2017
Declaring the value capable class InternalTest.Int final fixes the crash.
Rémi
----- Mail original -----
> De: "Remi Forax" <forax at univ-mlv.fr>
> À: "valhalla-dev" <valhalla-dev at openjdk.java.net>
> Envoyé: Vendredi 15 Septembre 2017 22:33:05
> Objet: [MVT] hotspot crash
> oops,
> 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:
> http://www-igm.univ-mlv.fr/~forax/tmp/mvt/
>
> and run
> java -XX:+EnableMVT -cp test-valuetypified.jar
> fr.umlv.valuetypify.test.InternalTest
>
> cheers,
> Rémi
>
> ---
>
> ~/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