You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inner class handling is especially non-performant. Currently we pass an
unqualified "this" into RT.invoke() in inner-class methods, and then at
runtime have to scan through enclosing classes to find matching methods,
extracting the magic outer this pointer along the way.
We could instead use the type of the method we resolved at runtime to pass
"Enclosing.this" directly to RT.invoke() and do away with all of the outer
class scanning at runtime. There's probably some situation where that will
cause things to be more rigid than doing it at runtime, but I'm not
immediately thinking of it. If we fall back to an unqualified "this" iff we
fail to resolve the method, then perhaps that's the best of both worlds.
Original issue reported on code.google.com by [email protected] on 3 May 2010 at 2:57
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 3 May 2010 at 2:57The text was updated successfully, but these errors were encountered: