JDK-6934966 : JSR 292 add C1 logic for saved SP over MethodHandle calls
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-03-15
  • Updated: 2010-09-24
  • Resolved: 2010-03-24
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
6u21pFixed 7Fixed hs18Fixed
Related Reports
Relates :  
Description
The logic for x86 C1 to save the SP over MH calls is pretty straight forward which uses the always-callee-saved BP register.  On SPARC, and maybe other architectures, we need to choose one of the callee-saved registers and kill it over MH calls.

This CR adds some logic to support this.  It should be pushed before SPARC C1 support is pushed since that would break x86 C1.

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/fc2c71045ada,ChangeRequest=6934966
17-03-2010