RFR(S): 8139380: VMError::report_and_die() does not produce replay file
vladimir.kozlov at oracle.com
Fri Oct 16 13:10:39 UTC 2015
EnableJVMCI ? ", jvmci" : "",
UseJVMCICompiler ? ", jvmci compiler" : "",
On 10/16/15 7:10 PM, Zoltán Majó wrote:
> please review the patch for 8139380.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8139380
> Problem: The test compiler/ciReplay/TestVM.sh intentionally crashes the
> VM and expects compiler replay data to be saved into a file
> ('test_replay.txt'). Since the JVMCI changes were pushed, the test fails
> on some platforms we support because the file is not created by the VM.
> The file should be created by VMError::report_and_die(). However, a
> SIGSEGV is thrown in VMError::report() (report() is called by
> report_and_die()) that causes the VM to exit without saving replay data.
> Solution: Update VMError::report() to use an appropriate format string
> to print the VM version in both JVMCI-enabled builds and builds without
> - JPRT (testset hotspot);
> - executed failing test on all supported platforms, the failure is not
> Thank you and best regards,
More information about the hotspot-compiler-dev