JDK-6812831 : factor duplicated assembly code for megamorphic invokeinterface (for 6655638)
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 7
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-03-04
  • Updated: 2010-04-02
  • Resolved: 2009-03-18
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 6 JDK 7 Other
6u18Fixed 7Fixed hs15Fixed
Related Reports
Relates :  
Description
The assembly code for megamorphic invokeinterface is duplicated (with minor variations) in vtableStubs and templateTable.  In order to control the code shape more directly, we will factor it into a new subroutine MacroAssembler::lookup_interface_method.

This will let us use the subroutine in a new places, such as code for a direct method handle to an interface method.

It will also provide a single point (per CPU) to add enhancements to interface invocation, such as for the interface injection project.

Comments
SUGGESTED FIX http://cr.openjdk.java.net/~jrose/6812831/ http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/9adddb8c0fc8
08-03-2009

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/9adddb8c0fc8
07-03-2009