Skip to content

Commit

Permalink
Merge pull request #7601 from vijaysun-omr/inliner-diags1
Browse files Browse the repository at this point in the history
Tune more inlining parameters without changing the source
  • Loading branch information
hzongaro authored Jan 8, 2025
2 parents b2f9c71 + 97005a0 commit 9e718a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions compiler/optimizer/Inliner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,11 @@ TR_InlinerBase::setInlineThresholds(TR::ResolvedMethodSymbol *callerSymbol)
_nodeCountThreshold *= 2;
}

static const char *g = feGetEnv("TR_MaxInliningCallSites");
if (g)
_maxInliningCallSites = atoi(g);


//call random functions to allow randomness to change limits
if (comp()->getOption(TR_Randomize))
{
Expand Down

0 comments on commit 9e718a6

Please sign in to comment.