MaxBCEAEstimateSize and inlining clarification
rwestrel at redhat.com
Thu Sep 8 12:25:13 UTC 2016
> I'm hoping someone could clarify how MaxBCEAEstimateSize interacts with
> The default max size is 150, nearly half the size of FreqInlineSize. Is EA
> eligibility performed on a method before it's inlined then? I can't imagine
> that 150 is the limit after inlining. If it's before inlining, how exactly
> does this work after the method is inlined since the inlined call graph may
> have quite a bit of code and thus EA may take a while? My understanding is
> EA is run after inlining to maximize its effectiveness. Or is the
> MaxBCEAEstimateLevel used as pseudo inlining for the analysis?
EA happens after inlining. For calls that are not inlined, the bytecodes
of the callees is analyzed to find more opportunities for
EA. MaxBCEAEstimateSize affects the pass that operates on bytecodes of
non inlined methods.
More information about the hotspot-compiler-dev