On Sep 28, 2016, at 7:40 AM, Krystal Mok <rednaxel...@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 heuristic. And, nestmate access at JVM level may be coming also but that's not back-portable. Tech. debt from 1997, yum. — John