JDK-4752334 : Regression: Some J2DBench tests are 3-4 times slower on Win XP for 1.4.0_03b1
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.4.0_03
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2002-09-24
  • Updated: 2002-11-13
  • Resolved: 2002-11-13
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.4.0_03 03Fixed
Related Reports
Relates :  
Description
J2DBench is much slower on 1.4.0_03b1  compared to 1.4.0_02b2 (repspin of b2)
It appears to only affect Win XP so far. I've tested on 2k and NT and Sparc 2.8, the results look ok with these os's.

I've selected one test to show the regression.
About 10 out of the ~200 tests show regression.
The setup file for this test is attached.

Results at http://latte.ireland/results/1.4.0_03/J2DBench/XPPro/

I also installed Service Pack 1 on Xp to see if it would
make a difference. No difference noticed.


Below is a table of results :

Draws/Sec for 100X100 xBGR Bitmask Image Scaled 1.5x

OS:			140_02b2/3  	140_03b1

XP (1st box)		261		67
XP (1st with SP 1)	262		67
XP (2nd)		145		40.7
XP (3rd)		145		36
NT			163		156
2K			160		145
Sparc 2.8		34		34


###@###.### 2002-09-24

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: generic FIXED IN: 1.4.0_03 INTEGRATED IN: 1.4.0_03 VERIFIED IN: 1.4.0_03
14-06-2004

PUBLIC COMMENTS ###@###.### 2002-11-13 J2DBench results for 1.4.0_03b3 are similar to those for 1.4.0_02b2 Backout of 4409306 has fixed bug.
13-11-2002

EVALUATION The performance degradation should be reproducible with both win2k and XP but, it is dependant on machine configuration and graphics devices. I believe that the fix for 4409306 is causing the performance decrease that is being seen in some tests. The fix for 4409306 can de disabled with the following flags: -Dsun.java2d.gdiblit=false -Dsun.java2d.ddlock=true. With these flags set the performance increases back to the level of 1.4.0_02. The fix for 4409306 is known to have some performance issues but it was considered that these cases were small enought/cornor cases and that the fix was important enought therefore justifying its integration in hopper. ###@###.### 2002-09-30 --------------------------------------------------- The fix for 4409306 has been backed out of 1.4.0_03 ###@###.### 2002-10-08
30-09-2002