United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7079317 Incorrect branch's destination block in PrintoOptoAssembly output
JDK-7079317 : Incorrect branch's destination block in PrintoOptoAssembly output

Details
Type:
Bug
Submit Date:
2011-08-15
Status:
Closed
Updated Date:
2011-11-25
Project Name:
JDK
Resolved Date:
2011-11-25
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs22
Fixed Versions:
hs22 (b02)

Related Reports
Backport:
Relates:

Sub Tasks

Description
After changes for 7063629 PrintoOptoAssembly shows all branches have B0 as destination block:

0c0 + 	BA     B0

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/11211f7cb5a0
                                     
2011-08-16
PUBLIC COMMENTS

Save/restore label and block in scratch_emit_size(). MachBranchNode was added as base class for MachIfNode, MachGotoNode and MachNullCheckNode. The only problem was JumpX mach node which is subclass of MachConstantNode. But it is fine since it does not have label, short version or delay slot (the sparc instruction has delay slot but we use ialu_reg_reg pipe_class). It needs only one additional check in output.cpp where Kill projections are processed.
                                     
2011-08-16
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/11211f7cb5a0
                                     
2011-08-23
EVALUATION

See main CR
                                     
2011-09-12



Hardware and Software, Engineered to Work Together