Assertion fails during print compilation because nmethod::print_on() calls osr_entry_bci() without checking that the method is an osr method. The fix adds an appropriate check. Webrev: http://cr.openjdk.java.net/~iveresov/6982921/webrev.00/ Thanks, igor