Skip to content

Commit fee0a52

Browse files
authored
Merge pull request #21978 from nbhuiyan/bigcallees-oj9mh
Enable bigCallee size adjustment during ECS for JDK8 and 11
2 parents ccedbe5 + a4b564c commit fee0a52

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

runtime/compiler/optimizer/J9EstimateCodeSize.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1838,13 +1838,7 @@ TR_J9EstimateCodeSize::realEstimateCodeSize(TR_CallTarget *calltarget, TR_CallSt
18381838
}
18391839
}
18401840

1841-
#if defined(J9VM_OPT_OPENJDK_METHODHANDLE)
18421841
int32_t bigCalleesSizeBelowMe = _bigCalleesSize - origBigCalleesSize;
1843-
#else
1844-
// Temporarily disable bigCalleeSize adjustment for OpenJ9 MethodHandle implementation as it exposes a functional issue
1845-
// with the change in inlining behaviour resulting from this big callee adjustment.
1846-
int32_t bigCalleesSizeBelowMe = 0;
1847-
#endif /* J9VM_OPT_OPENJDK_METHODHANDLE */
18481842
if ((_analyzedSize - origAnalyzedSize - bigCalleesSizeBelowMe) > bigCalleeThreshold)
18491843
{
18501844
///printf("set warmcallgraphtoobig for method %s at index %d\n", calleeName, newBCInfo._byteCodeIndex);fflush(stdout);

0 commit comments

Comments
 (0)