RFR: 8249080 - Reduce MemberName class dependency on MethodHandles
Bob Vandette
bob.vandette at oracle.com
Wed Jul 8 15:19:42 UTC 2020
Please review this RFE for JDK 16 that reduces a class dependency in the MethodHandles.Lookup class.
The ensureInitialized method from MethodHandles.Lookup creates a transient MemberName object only
to be used to throw an exception. This exception can be created in a more efficient manner without
using this class reducing the number of classes required. This reduction in dependencies is beneficial
to the GraalVM native-image tool and will be useful for future Leyden native image implementations.
RFE:
https://bugs.openjdk.java.net/browse/JDK-8249080
WEBREV:
http://cr.openjdk.java.net/~bobv/8249080/webrev.01/
Bob.
More information about the core-libs-dev
mailing list