-XX:Inline ignored for system classes?
Peter Veentjer
alarmnummer at gmail.com
Sun Jan 22 16:30:43 UTC 2017
Thanks! I have learned something new.
On Sun, Jan 22, 2017 at 6:26 PM, Andrew Haley <aph at redhat.com> wrote:
> On 22/01/17 12:52, Peter Veentjer wrote:
> > I'm doing some Assembly analysis to gain a deeper understanding in
> > devirtualization and I'm running into some unexpected behavior. What I'm
> > seeing is that even though inlining is disabled, the call to
> ArrayList.size
> > got inlined. Look for '0x000000010be7e539' and you will see the
> unexpected
> > behavior. Is this intentional behavior or am I missing something?
>
> Accessors are special. Try -XX:-InlineAccessors.
>
> Andrew.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20170122/0df857cb/attachment.html>
More information about the hotspot-compiler-dev
mailing list