RFR: 8166840: Synthetic bridge constructor in ArrayList$Itr blocks inlining

John Rose john.r.rose at oracle.com
Wed Sep 28 17:31:22 UTC 2016

On Sep 28, 2016, at 7:40 AM, Krystal Mok <rednaxelafx at gmail.com> wrote:
> Let me post out the HotSpot version of the change and let you guys decide
> whether or not you guys want to take that version (which will take care of
> the ArrayList$1 case without the JDK-side change).

My advice is:  Both/and.  IMO the presence of a constant null should unblock
an inline blocked by an unloaded parameter class.  But that will take more effort
to do right in the JVM.  In general, constants should have weight with the inlining

And, nestmate access at JVM level may be coming also but that's not back-portable.
Tech. debt from 1997, yum.

— John

More information about the core-libs-dev mailing list