-XX:Inline ignored for system classes?

Andrew Haley aph at redhat.com
Sun Jan 22 16:26:23 UTC 2017


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.



More information about the hotspot-compiler-dev mailing list