What can we improve in JSR292 for Java 9?
Julien Ponge
julien at ponge.org
Wed Mar 4 11:00:47 UTC 2015
Hello,
I echo Jochen's griefs on constructors. There are cases of dynamic subclassing or bytecode wizardry where one would like to make that call with invokedynamic, and being forced into doing so with an invokespecial to not break the verifier rules is a big problem.
Other than that having some support for intrinsic invocation counters on GWT branches would probably be very helpful when creating polymorphic-inline caches.
One invalidation or periodic invalidation we could use those metrics to reorder the GWT, and possibly prune old ones.
An open question that I have is that of facilitating the support of overloaded methods. It's typically something dynamically-typed languages struggle with, and doing it correctly *and* efficiently is not that pretty.
- Julien
More information about the mlvm-dev
mailing list