JDK-7079317 : Incorrect branch's destination block in PrintoOptoAssembly output
Type:Bug
Component:hotspot
Sub-Component:compiler
Affected Version:hs22
Priority:P4
Status:Closed
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2011-08-15
Updated:2011-11-25
Resolved:2011-11-25
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.
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.