mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-25 05:45:11 +02:00
6975855: don't emit deopt MH handler in C1 if not required
This CR implements the same for C1 as 6926782 for C2. Reviewed-by: never
This commit is contained in:
parent
dc37d152e7
commit
c9ac8cc788
4 changed files with 24 additions and 6 deletions
|
@ -2472,8 +2472,12 @@ void nmethod::print_nmethod_labels(outputStream* stream, address block_begin) {
|
|||
if (block_begin == exception_begin()) stream->print_cr("[Exception Handler]");
|
||||
if (block_begin == stub_begin()) stream->print_cr("[Stub Code]");
|
||||
if (block_begin == deopt_handler_begin()) stream->print_cr("[Deopt Handler Code]");
|
||||
if (block_begin == deopt_mh_handler_begin()) stream->print_cr("[Deopt MH Handler Code]");
|
||||
|
||||
if (has_method_handle_invokes())
|
||||
if (block_begin == deopt_mh_handler_begin()) stream->print_cr("[Deopt MH Handler Code]");
|
||||
|
||||
if (block_begin == consts_begin()) stream->print_cr("[Constants]");
|
||||
|
||||
if (block_begin == entry_point()) {
|
||||
methodHandle m = method();
|
||||
if (m.not_null()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue