United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 4272634 compiler flags hurt the performance of some of the graphics rendering loops
4272634 : compiler flags hurt the performance of some of the graphics rendering loops

Details
Type:
Bug
Submit Date:
1999-09-16
Status:
Resolved
Updated Date:
1999-10-05
Project Name:
JDK
Resolved Date:
1999-10-05
Component:
client-libs
OS:
windows_nt
Sub-Component:
2d
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.3.0
Fixed Versions:
1.3.0

Related Reports
Relates:

Sub Tasks

Description
The "-Os" compiler flag that was recently added to the win32 builds is
affecting the performance of the inner loops of some of the graphics
rendering code.  The following files are demonstrating noticeable 
performance degradation with the flag:

	src/share/native/sun/java2d/loops/GIFAcceleratorLoops.c

                                    

Comments
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
kestrel

FIXED IN:
kestrel

INTEGRATED IN:
kestrel


                                     
2004-06-14
SUGGESTED FIX

Remove the "-Os" flag for just the affected files.
                                     
2004-06-11
EVALUATION

Adding the following line to BlitMacros.h causes all files with blit loops
to be optimized for time instead of space:

#pragma optimize("t", on)

jim.graham@Eng 1999-09-21
                                     
1999-09-21



Hardware and Software, Engineered to Work Together