src/cpu/x86/vm/methodHandles_x86.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/cpu/x86/vm/methodHandles_x86.cpp	Tue Dec  1 18:28:14 2009
--- new/src/cpu/x86/vm/methodHandles_x86.cpp	Tue Dec  1 18:28:13 2009

*** 266,275 **** --- 266,276 ---- // And adjust the argslot address to point at the deletion point. __ lea(rax_argslot, Address(rax_argslot, arg_slots, Address::times_ptr)); } #ifndef PRODUCT + extern "C" void print_method_handle(oopDesc* mh); void trace_method_handle_stub(const char* adaptername, oopDesc* mh, intptr_t* entry_sp, intptr_t* saved_sp, intptr_t* saved_bp) {
*** 278,287 **** --- 279,289 ---- intptr_t* base_sp = (intptr_t*) saved_bp[frame::interpreter_frame_monitor_block_top_offset]; printf("MH %s mh="INTPTR_FORMAT" sp=("INTPTR_FORMAT"+"INTX_FORMAT") stack_size="INTX_FORMAT" bp="INTPTR_FORMAT"\n", adaptername, (intptr_t)mh, (intptr_t)entry_sp, (intptr_t)(saved_sp - entry_sp), (intptr_t)(base_sp - last_sp), (intptr_t)saved_bp); if (last_sp != saved_sp) printf("*** last_sp="INTPTR_FORMAT"\n", (intptr_t)last_sp); + if (Verbose) print_method_handle(mh); } #endif //PRODUCT // Generate an "entry" field for a method handle. // This determines how the method handle will respond to calls.

src/cpu/x86/vm/methodHandles_x86.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File