United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6934966 JSR 292 add C1 logic for saved SP over MethodHandle calls
JDK-6934966 : JSR 292 add C1 logic for saved SP over MethodHandle calls

Details
Type:
Enhancement
Submit Date:
2010-03-15
Status:
Resolved
Updated Date:
2010-09-24
Project Name:
JDK
Resolved Date:
2010-03-24
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs18
Fixed Versions:
hs18 (b01)

Related Reports
Backport:
Backport:
Backport:
Backport:
Relates:

Sub Tasks

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
                                     
2010-03-17



Hardware and Software, Engineered to Work Together