Extension methods
Joseph D. Darcy
Joe.Darcy at Sun.COM
Fri Nov 20 15:38:59 PST 2009
Rémi Forax wrote:
> There is a real problem of performance with extension methods
> (at least with Hotspot).
> Extension methods create megamorphic call sites
> and Hotspot is not able to inline them.
>
> Rémi
>
>
Mark has not yet published a proposal or sketch for extension methods or
closures.
If extension methods are added to the platform, that will presumably
provide motivation for the HotSpot team to create polymorphic inline
caches to better handle megamorphic call sites :-)
-Joe
More information about the coin-dev
mailing list