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.

To download the current JDK release, click here.
JDK 7 Other
7u2Fixed hs22Fixed
Related Reports
Relates :  
Description
After changes for 7063629 PrintoOptoAssembly shows all branches have B0 as destination block:

0c0 + 	BA     B0

Comments
EVALUATION See main CR
12-09-2011

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

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.
16-08-2011

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