RFR: 8234863: Increase default value of MaxInlineLevel

Claes Redestad claes.redestad at oracle.com
Mon Dec 9 00:22:04 UTC 2019


Hi lx,

On 2019-12-09 00:23, Liu Xin wrote:
> Hi, Claes,
> 
> If you increase MaxInlineLevel from 9 to 15, don't you need adjust 
> initial and maximal size of CodeCache?

Not necessarily: yes, more aggressive inlining may lead to larger
nmethods and less sharing overall, which *could* mean we need more code
cache space over time. But it may also mean more aggressive dead code 
elimination, which can mean a net reduction in code cache utilization
for some applications.

For the applications and benchmarks we've tested, code cache utilization
is largely the same. And while we can't rule out that some applications
may see regressions, data strongly suggests a more aggressive setting
will be better on average for most.

> Could you elaborate 3x sub-benchmark? Is it java or scala?

IIRC scala-kmeans was the sub-benchmark that saw the largest
improvement.

/Claes


More information about the hotspot-compiler-dev mailing list