United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6671250 In Parse::do_if() old Cmp node 'c' should be replaced with new one after BoolNode transformation.
JDK-6671250 : In Parse::do_if() old Cmp node 'c' should be replaced with new one after BoolNode transformation.

Details
Type:
Bug
Submit Date:
2008-03-05
Status:
Closed
Updated Date:
2011-04-20
Project Name:
JDK
Resolved Date:
2011-04-20
Component:
hotspot
OS:
solaris_10
Sub-Component:
compiler
CPU:
sparc
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs12
Fixed Versions:
hs12 (b02)

Related Reports
Backport:
Backport:

Sub Tasks

Description
In Parse::do_if() 'c' (CmpNode) node may be changed during BoolNode transformation
so 'c' may became dead but the node is referenced later in the code.
It should be replaced with new one after BoolNode transformation.

                                    

Comments
EVALUATION

See description.
                                     
2008-03-05
SUGGESTED FIX

'c' should be replaced with new node after BoolNode transformation
and canonicalize one more time since transformtion can change it.
                                     
2008-03-05



Hardware and Software, Engineered to Work Together