1.1 --- a/src/share/vm/code/nmethod.cpp Tue Aug 10 12:15:10 2010 -0700 1.2 +++ b/src/share/vm/code/nmethod.cpp Wed Aug 11 01:17:27 2010 -0700 1.3 @@ -2472,8 +2472,12 @@ 1.4 if (block_begin == exception_begin()) stream->print_cr("[Exception Handler]"); 1.5 if (block_begin == stub_begin()) stream->print_cr("[Stub Code]"); 1.6 if (block_begin == deopt_handler_begin()) stream->print_cr("[Deopt Handler Code]"); 1.7 - if (block_begin == deopt_mh_handler_begin()) stream->print_cr("[Deopt MH Handler Code]"); 1.8 + 1.9 + if (has_method_handle_invokes()) 1.10 + if (block_begin == deopt_mh_handler_begin()) stream->print_cr("[Deopt MH Handler Code]"); 1.11 + 1.12 if (block_begin == consts_begin()) stream->print_cr("[Constants]"); 1.13 + 1.14 if (block_begin == entry_point()) { 1.15 methodHandle m = method(); 1.16 if (m.not_null()) {