RFR (XS): 8006095: C1: SIGSEGV w/ -XX:+LogCompilation
Vladimir Ivanov
vladimir.x.ivanov at oracle.com
Wed Jan 16 07:41:51 PST 2013
Pavel,
I didn't find an easy way to create a reliable one - it should fail in a
very precise place to fail the whole compilation during method inlining.
Best regards,
Vladimir Ivanov
On 1/16/13 3:09 PM, Pavel Punegov wrote:
> Hi,
>
> Is there any way to create a regression test from the test case provided
> in bug?
>
> On Saturday 12 January 2013 03:25:13 Vladimir Ivanov wrote:
>
> >http://cr.openjdk.java.net/~vlivanov/8006095/webrev.00
>
> >17 lines changed: 10 ins; 3 del; 4 mod
>
> >
>
> >The crash occurs when C1 compilation fails and bails out during method
>
> >inlining attempt. The reason is that _inline_bailout_msg == NULL during
>
> >an attempt to print failure message in the log.
>
> >
>
> >Fixed by avoiding printing inlining message in the compiler log during
>
> >bailout and adding additional defensive checks in
>
> >GraphBuilder::print_inlining method.
>
> >
>
> >Testing: failing test case.
>
> >
>
> >Best regards,
>
> >Vladimir Ivanov
>
> --
>
> Thanks,
>
> Pavel
>
More information about the hotspot-compiler-dev
mailing list