RFR (XS): 8006095: C1: SIGSEGV w/ -XX:+LogCompilation

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Fri Jan 11 16:25:13 PST 2013


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


More information about the hotspot-compiler-dev mailing list