JDK-6471004 : Incorrect displacement check for short branches.
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 7
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_9
  • CPU: sparc
  • Submitted: 2006-09-14
  • Updated: 2010-04-03
  • Resolved: 2006-11-14
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.
Other JDK 6 JDK 7 Other
5.0u12,hs10Fixed 6u2Fixed 7Fixed hs10Fixed
Description
Incorrect method (isByte() instead of is8bit()) is used to check a displacement 
for short branches. As result short back branches are not generated
in a assembler code (a code generated by compilers is fine).

Comments
SUGGESTED FIX Webrev: http://analemma.sfbay.sun.com/net/prt-archiver.sfbay/data/archived_workspaces/main/c2_baseline/2006/20060915151716.kvn.6471004/workspace/webrevs/webrev-2006.09.15/index.html
18-09-2006

SUGGESTED FIX Use AbstractAssembler::is8bit() method for a displacement check for short branches.
14-09-2006

EVALUATION See description.
14-09-2006