JDK-6991211 : assert failure on sparc: "can not have caller-save register operands at calls"
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs20
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2010-10-12
  • Updated: 2011-04-23
  • Resolved: 2011-04-23
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
6u25Fixed 7Fixed hs20Fixed
Related Reports
Relates :  
Description
When running ctw on sparc with c1:
assert(!has_call(op_id) || opr->is_stack() || !is_caller_save(reg_num(opr))) failed: can not have caller-save register operands at calls

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/357451a9ae6a
14-10-2010

EVALUATION fix in 6972540 is missing: diff --git a/src/cpu/sparc/vm/c1_LinearScan_sparc.hpp b/src/cpu/sparc/vm/c1_LinearScan_sparc.hpp --- a/src/cpu/sparc/vm/c1_LinearScan_sparc.hpp +++ b/src/cpu/sparc/vm/c1_LinearScan_sparc.hpp @@ -64,7 +64,7 @@ _first_reg = pd_first_callee_saved_reg; _last_reg = pd_last_callee_saved_reg; return true; - } else if (cur->type() == T_INT || cur->type() == T_LONG || cur->type() == T_OBJECT) { + } else if (cur->type() == T_INT || cur->type() == T_LONG || cur->type() == T_OBJECT || cur->type() == T_ADDRESS) { _first_reg = pd_first_cpu_reg; _last_reg = pd_last_allocatable_cpu_reg; return true;
12-10-2010