-
Enhancement
-
Resolution: Unresolved
-
P4
-
9
-
None
This RFE is a consolidated list of proposed incremental improvements to JSR 292, to be part of a maintenance release (JDK 9, etc.).
Many of these items have been discussed on the mlvm-dev list here:
http://mail.openjdk.java.net/pipermail/mlvm-dev/2015-March/thread.html
(See topics "what can we improve" and "simple PIC".)
In the list below, items marked "?" do not seem well-defined enough to create prototypes.
# Combinators
try/finally
loop
spreadArguments (array in mid-list)
? collectArguments (array in mid-list)
? foldArguments (in mid-list)
# Lookups
findSpecial on interface (non-dispatched link to interface super)
findClass (does all access checks, including for modules)
? findSuperConstructor (must produce a MH with tight restrictions on use!)
# Call sites
? PIC mechanism (mlvm-dev proposals are in flux)
? extensible/profiling GWT (can mutate self to add more cases, usually at the end)
# Cleanups
better sharing/caching for asType transforms
consolidate sharing/caching logic onto LF Editor, get rid of other ad hoc mechanisms
DMH caching tune-ups (Duncan McGregor)
cache MemberNames on java.lang.Class (David Chase)
# Reflection (these are hard)
? ad hoc cracking of GWTs or other transforms
? implementation-specific inspection API (Charlie)
# Language (these are nearly impossible)
? constant folding of MH factory expressions (to CONSTANT_MethodHandle)
? target typing of Foo::bar expressions (to... pick your poison)
? direct coding of invokedynamic from Java
Many of these items have been discussed on the mlvm-dev list here:
http://mail.openjdk.java.net/pipermail/mlvm-dev/2015-March/thread.html
(See topics "what can we improve" and "simple PIC".)
In the list below, items marked "?" do not seem well-defined enough to create prototypes.
# Combinators
try/finally
loop
spreadArguments (array in mid-list)
? collectArguments (array in mid-list)
? foldArguments (in mid-list)
# Lookups
findSpecial on interface (non-dispatched link to interface super)
findClass (does all access checks, including for modules)
? findSuperConstructor (must produce a MH with tight restrictions on use!)
# Call sites
? PIC mechanism (mlvm-dev proposals are in flux)
? extensible/profiling GWT (can mutate self to add more cases, usually at the end)
# Cleanups
better sharing/caching for asType transforms
consolidate sharing/caching logic onto LF Editor, get rid of other ad hoc mechanisms
DMH caching tune-ups (Duncan McGregor)
cache MemberNames on java.lang.Class (David Chase)
# Reflection (these are hard)
? ad hoc cracking of GWTs or other transforms
? implementation-specific inspection API (Charlie)
# Language (these are nearly impossible)
? constant folding of MH factory expressions (to CONSTANT_MethodHandle)
? target typing of Foo::bar expressions (to... pick your poison)
? direct coding of invokedynamic from Java
- relates to
-
JDK-8068253 MethodHandleInfo does not provide the referenced class
-
- In Progress
-
-
JDK-8032881 Cleanup VerifyAccess.checkMemberAccess method
-
- Open
-