RFR 8187742 Minimal set of bootstrap methods for dynamic constants
Paul Sandoz
paul.sandoz at oracle.com
Tue Nov 7 18:38:57 UTC 2017
Hi,
Please review the patch that adds a minimal set of bootstrap methods can be be used for producing dynamic constants:
http://cr.openjdk.java.net/~psandoz/jdk10/JDK-8187742-condy-bootstraps/webrev/ <http://cr.openjdk.java.net/~psandoz/jdk10/JDK-8187742-condy-bootstraps/webrev/>
The aim is to provide a small but common set of BSMs that are likely useful with ldc or as BSM arguments, filling in the gaps for constants that cannot be currently represented, such as null, primitive classes and VarHandles. It’s possible to get more sophisticated regarding say factories but that is something to consider later on.
This patch is based off the minimal dynamic constant support (still in review):
http://mail.openjdk.java.net/pipermail/core-libs-dev/2017-October/049603.html <http://mail.openjdk.java.net/pipermail/core-libs-dev/2017-October/049603.html>
Paul.
More information about the hotspot-dev
mailing list