8254244: Some code emitted by TemplateTable::branch is unused when running TieredCompilation

Reviewed-by: mdoerr, coleenp, iveresov
This commit is contained in:
Claes Redestad 2020-10-09 11:01:53 +00:00
parent a95590d00e
commit 9cecc16747
4 changed files with 5 additions and 5 deletions

View file

@ -2296,7 +2296,7 @@ void TemplateTable::branch(bool is_jsr, bool is_wide) {
__ dispatch_only(vtos, true);
if (UseLoopCounter) {
if (ProfileInterpreter) {
if (ProfileInterpreter && !TieredCompilation) {
// Out-of-line code to allocate method data oop.
__ bind(profile_method);
__ call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::profile_method));