RFR (S): 8005173: assert(false) failed: DEBUG MESSAGE: exception oop must be empty (macroAssembler_x86.cpp:625)
christian.thalinger at oracle.com
Thu Oct 10 18:10:02 PDT 2013
Thank you, Igor and Vladimir.
On Oct 10, 2013, at 5:57 PM, Igor Veresov <igor.veresov at oracle.com> wrote:
> Looks good.
> On Oct 10, 2013, at 5:48 PM, Christian Thalinger <christian.thalinger at oracle.com> wrote:
>> 8005173: assert(false) failed: DEBUG MESSAGE: exception oop must be empty (macroAssembler_x86.cpp:625)
>> The problem is that we don't clean the current exception oop and pc in OptoRuntime::handle_exception_C_helper before calling out to SharedRuntime::compute_compiled_exc_handler which call load classes and thus execute Java code.
>> The corresponding code for C1 in exception_handler_for_pc_helper does that.
>> Since the assert we are hitting in Runtime1::generate_handle_exception only exists on x86 we should also add it on the other platforms (or SPARC at least).
More information about the hotspot-compiler-dev