United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6468505 kill projection for calls should select the proper calling convention
6468505 : kill projection for calls should select the proper calling convention

Details
Type:
Bug
Submit Date:
2006-09-07
Status:
Resolved
Updated Date:
2010-04-02
Project Name:
JDK
Resolved Date:
2006-11-14
Component:
hotspot
OS:
solaris_9
Sub-Component:
compiler
CPU:
sparc
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
hs10

Related Reports
Backport:
Backport:

Sub Tasks

Description
The code in lcm.cpp that builds the kill projection for a call always uses the register_save_policy and never considers the c_reg_save_policy.  Most of the time this is ok in our current world because usually they are sufficiently compatible that it makes no difference.  However there are differences on intel because of the way we handle EBP that can make the code that generates stubs think that values can be left in EBP because EBP is marked NS in the register_save_policy.

                                    

Comments
SUGGESTED FIX

http://analemma.sfbay.sun.com/net/prt-archiver.sfbay/data/archived_workspaces/main/c2_baseline/2006/20060908174442.never.6468505/workspace/webrevs/webrev-2006.09.08/index.html
                                     
2006-09-11
EVALUATION

The code in sched_call should pick the proper calling convention based on the Opcode of the call.
                                     
2006-09-07



Hardware and Software, Engineered to Work Together