JDK-7123253 : C1: in store check code, usage of registers may be incorrect
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs23
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-12-20
  • Updated: 2012-03-29
  • Resolved: 2012-03-29
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 7 JDK 8 Other
7u4Fixed 8Fixed hs23Fixed
Description
Assembly code in LIR_Assembler::emit_opTypeCheck() for case code == lir_store_check uses value (an input) after k_RInfo (a temp) is written to. If k_RInfo and value are the same, this code breaks.

Comments
EVALUATION http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/b642b49f9738
22-03-2012

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/b642b49f9738
23-12-2011

EVALUATION Extend lifetime of input value/LIR_OpTypeCheck::object() to the whole store check LIR operation.
20-12-2011