RFR: 8234863: Increase default value of MaxInlineLevel

Liu Xin navy.xliu at gmail.com
Sun Dec 8 23:23:21 UTC 2019


Hi, Claes,

If you increase MaxInlineLevel from 9 to 15, don't you need adjust initial
and maximal size of CodeCache?
Could you elaborate 3x sub-benchmark? Is it java or scala?

thanks,
--lx


On Sun, Dec 8, 2019 at 1:42 PM Claes Redestad <claes.redestad at oracle.com>
wrote:

> Hi,
>
> increasing MaxInlineLevel can substantially improve performance in some
> benchmarks[1], and has been reported to help applications implemented in
> scala in particular.
>
> There is always some risk of regressions when tweaking the default
> inlining settings. I've done a number of experiments to ascertain that
> the effect of increasing this on a wide array of benchmarks. With 15 all
> benchmarks tested are show either neutral or positive results, with no
> observed regression w.r.t. compilation speed or code cache usage.
>
> Webrev: http://cr.openjdk.java.net/~redestad/8234863/open.00/
>
> Thanks!
>
> /Claes
>
> [1] One http://renaissance.dev sub-benchmark improve by almost 3x with
> an increase from 9 to 15.
>


More information about the hotspot-compiler-dev mailing list