RFR: 8234863: Increase default value of MaxInlineLevel

Claes Redestad claes.redestad at oracle.com
Sun Dec 8 21:44:53 UTC 2019


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