JDK-4272634 : compiler flags hurt the performance of some of the graphics rendering loops
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.3.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_nt
  • CPU: x86
  • Submitted: 1999-09-16
  • Updated: 1999-10-05
  • Resolved: 1999-10-05
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
1.3.0 kestrelFixed
Related Reports
Relates :  
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
14-06-2004

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

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
21-09-1999