United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6471004 Incorrect displacement check for short branches.
JDK-6471004 : Incorrect displacement check for short branches.

Details
Type:
Bug
Submit Date:
2006-09-14
Status:
Resolved
Updated Date:
2010-04-03
Project Name:
JDK
Resolved Date:
2006-11-14
Component:
hotspot
OS:
solaris_9
Sub-Component:
compiler
CPU:
sparc
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
hs10 (b03)

Related Reports
Backport:
Backport:
Backport:

Sub Tasks

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

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

See description.
                                     
2006-09-14
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
                                     
2006-09-18



Hardware and Software, Engineered to Work Together