[aarch64-port-dev ] -XX:InlineSmallCode=1500
Andrew Haley
aph at redhat.com
Mon Jul 24 14:46:24 UTC 2017
On 24/07/17 15:37, Andrew Dinn wrote:
> Interestingly, there was also a comment in hotspot test
> compiler/c2/Test6910605_2.java saying
>
> "Added InlineSmallCode=2000 to guaranty [sic] inlining of
> StringBuilder::append() to allow scalar replace StringBuilder object."
>
> Is this benefit anywhere near the vicinity of the improvement arrived at
> in Doug's benchmark test?
Yes. This explains another mystery: we only saw the slowdown with
Doug's test when using -XX:-TieredCompilation. So, it looks like this
is already fixed for everything, as long as tiered compilation is
enabled. I guess it doesn't much matter whether we change it or not.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the aarch64-port-dev
mailing list