Skip to content

Commit

Permalink
Merge pull request #20876 from luke-li-2003/CompileMethodAPIFlag
Browse files Browse the repository at this point in the history
Consider the compileMethod() API in replenishInvocationCount() Assertion
  • Loading branch information
mpirvu authored Jan 3, 2025
2 parents 00929cf + 01824c4 commit 4524ee8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runtime/compiler/control/CompilationThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11955,7 +11955,9 @@ TR::CompilationInfo::replenishInvocationCount(J9Method *method, TR::Compilation
}
else
{
TR_ASSERT(false, "Unexpected value for method->extra = %p (method=%p)\n", TR::CompilationInfo::getJ9MethodExtra(method), method);
TR_ASSERT(comp->getOptimizationPlan()->isExplicitCompilation(),
"Unexpected value for method->extra = %p (method=%p)\n",
TR::CompilationInfo::getJ9MethodExtra(method), method);
}
}

Expand Down

0 comments on commit 4524ee8

Please sign in to comment.