equal
deleted
inserted
replaced
1053 } |
1053 } |
1054 |
1054 |
1055 if (entry_bci == InvocationEntryBci) { |
1055 if (entry_bci == InvocationEntryBci) { |
1056 if (TieredCompilation) { |
1056 if (TieredCompilation) { |
1057 // If there is an old version we're done with it |
1057 // If there is an old version we're done with it |
1058 nmethod* old = method->code(); |
1058 CompiledMethod* old = method->code(); |
1059 if (TraceMethodReplacement && old != NULL) { |
1059 if (TraceMethodReplacement && old != NULL) { |
1060 ResourceMark rm; |
1060 ResourceMark rm; |
1061 char *method_name = method->name_and_sig_as_C_string(); |
1061 char *method_name = method->name_and_sig_as_C_string(); |
1062 tty->print_cr("Replacing method %s", method_name); |
1062 tty->print_cr("Replacing method %s", method_name); |
1063 } |
1063 } |
1064 if (old != NULL) { |
1064 if (old != NULL) { |
1065 old->make_not_entrant(); |
1065 old->make_not_used(); |
1066 } |
1066 } |
1067 } |
1067 } |
1068 if (TraceNMethodInstalls) { |
1068 if (TraceNMethodInstalls) { |
1069 ResourceMark rm; |
1069 ResourceMark rm; |
1070 char *method_name = method->name_and_sig_as_C_string(); |
1070 char *method_name = method->name_and_sig_as_C_string(); |