JDK-6829188 : missing method handle adapters required for JSR 292
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2009-04-11
  • Updated: 2011-06-17
  • Resolved: 2011-06-17
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 8
8-poolResolved
Related Reports
Duplicate :  
Relates :  
Description
As may be noted in the hotspot and jdk source code, there are several kinds of missing adapter types.  These may be simulated by combinations of other method handle types, with the following disadvantages:

1. The performance of non-tail-recursive adapters like MethodHandles.guardWithTest is reduced, because of the path length.

2. The method handle internals must generate adapter classes to perform the adaptations, which introduces undesirable trade-offs between code space and code customization.

3. The generated adapter classes make implementation of JSR 292 on smaller JVMs more difficult and costly.

Comments
EVALUATION yes
14-03-2011