Skip to content

Commit

Permalink
Set nodeCountThreshold to 16k for >= hot compilations
Browse files Browse the repository at this point in the history
Set nodeCountThreshold to 16k for hot or above method compilations.

Signed-off-by: Rahil Shah <rahil@ca.ibm.com>
  • Loading branch information
r30shah committed May 15, 2024
1 parent e4471da commit 3435c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/optimizer/Inliner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ TR_InlinerBase::setInlineThresholds(TR::ResolvedMethodSymbol *callerSymbol)

_callerWeightLimit -= size;

_nodeCountThreshold = comp()->getOption(TR_NotCompileTimeSensitive) ? 16000: 3000;
_nodeCountThreshold = (comp()->getOption(TR_NotCompileTimeSensitive) || comp()->getMethodHotness() >= hot ) ? 16000 : 3000;
_methodInWarmBlockByteCodeSizeThreshold = _methodByteCodeSizeThreshold = 155;
_methodInColdBlockByteCodeSizeThreshold = 30;
_maxInliningCallSites = 4095;
Expand Down

0 comments on commit 3435c60

Please sign in to comment.