RFR (XXS): 8025845: Default methods are unnecessarily marked w/ force_inline directive

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Wed Oct 2 13:34:58 PDT 2013


http://cr.openjdk.java.net/~vlivanov/8025845/webrev.00/
1 line changed: 0 ins; 1 del

Default methods may be marked with force_inline directive, which forces 
JIT compiler to unconditionally inline them during compilation. It may 
disturb inlining decisions JIT compiler makes causing generation of 
suboptimal code and performance regressions.

Testing: verified that a default method isn't unconditionally inlined 
which was inlined before the fix.

Thanks!

Best regards,
Vladimir Ivanov

https://bugs.openjdk.java.net/browse/JDK-8025845


More information about the hotspot-runtime-dev mailing list