JDK-6982754 : dynamic languages need to track changes that require call site invalidation
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2010-09-07
  • Updated: 2011-03-30
  • Resolved: 2011-03-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7Resolved
Related Reports
Duplicate :  
Description
The API for linking method handles to invokedynamic needs to provide users with a way to declare that a call site might need to be rebound.

This requires a token of type java.dyn.Dependency, one or more of which may be associated with a linked invokedynamic instruction.  When the dynamic language runtime detects a breaking change to an assumed invariant of its type schema (or some other changed assumption) it needs to be able to invalidate call sites which have been bound under that assumption.  A Dependency object reifies this assumption.

Comments
EVALUATION Fixed as part of this change: 7001424 implement JSR 292 EG adjustments, November 2010 The relevant class is now called java.lang.invoke.SwitchPoint.
30-03-2011