RFR: 8234863: Increase default value of MaxInlineLevel

Vladimir Kozlov vladimir.kozlov at oracle.com
Mon Dec 9 00:52:42 UTC 2019


Nice finding! Good.

Thanks,
Vladimir

On 12/8/19 1:44 PM, Claes Redestad 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