comparison src/share/vm/code/nmethod.cpp @ 1691:4a665be40fd3

6975855: don't emit deopt MH handler in C1 if not required Summary: This CR implements the same for C1 as 6926782 for C2. Reviewed-by: never
author twisti
date Wed, 11 Aug 2010 01:17:27 -0700
parents 2a47bd84841f
children d2ede61b7a12
comparison
equal deleted inserted replaced
1690:36519c19beeb 1691:4a665be40fd3
2470 if (block_begin == entry_point()) stream->print_cr("[Entry Point]"); 2470 if (block_begin == entry_point()) stream->print_cr("[Entry Point]");
2471 if (block_begin == verified_entry_point()) stream->print_cr("[Verified Entry Point]"); 2471 if (block_begin == verified_entry_point()) stream->print_cr("[Verified Entry Point]");
2472 if (block_begin == exception_begin()) stream->print_cr("[Exception Handler]"); 2472 if (block_begin == exception_begin()) stream->print_cr("[Exception Handler]");
2473 if (block_begin == stub_begin()) stream->print_cr("[Stub Code]"); 2473 if (block_begin == stub_begin()) stream->print_cr("[Stub Code]");
2474 if (block_begin == deopt_handler_begin()) stream->print_cr("[Deopt Handler Code]"); 2474 if (block_begin == deopt_handler_begin()) stream->print_cr("[Deopt Handler Code]");
2475 if (block_begin == deopt_mh_handler_begin()) stream->print_cr("[Deopt MH Handler Code]"); 2475
2476 if (has_method_handle_invokes())
2477 if (block_begin == deopt_mh_handler_begin()) stream->print_cr("[Deopt MH Handler Code]");
2478
2476 if (block_begin == consts_begin()) stream->print_cr("[Constants]"); 2479 if (block_begin == consts_begin()) stream->print_cr("[Constants]");
2480
2477 if (block_begin == entry_point()) { 2481 if (block_begin == entry_point()) {
2478 methodHandle m = method(); 2482 methodHandle m = method();
2479 if (m.not_null()) { 2483 if (m.not_null()) {
2480 stream->print(" # "); 2484 stream->print(" # ");
2481 m->print_value_on(stream); 2485 m->print_value_on(stream);