RFR: 8234863: Increase default value of MaxInlineLevel
Vladimir Ivanov
vladimir.x.ivanov at oracle.com
Thu Dec 12 14:41:07 UTC 2019
Hi Jason,
> I once experimented [2] with a change to Hotspot to consider our
> bridge-like forwarder methods as exempt from the MaxInlineLevel budget, as
> is the case for lambda form frames. That change alone delivered most of the
> performance benefit of doubling MaxInlneLevel with an unmodified JVM.
Nice! The idea to exclude bridge-like methods from max inline level
accounting looks very promising. Do you have any plans to continue
working on it and contribute as a patch into the mainline at some point?
On the heuristic itself, it looks like it can be safely generalized to
any methods which just call another method irrespective of how many
arguments they pass (and in what order).
Best regards,
Vladimir Ivanov
> [1] https://github.com/scala/bug/issues/11627#issuecomment-514490505
> [2] https://gist.github.com/retronym/d27090a68570485c3e329a52db0c7b25
More information about the hotspot-compiler-dev
mailing list