JDK-6809227 : poor performance on Panel.Add() method in jdk6
  • Type: Task
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.2,5.0,6
  • Priority: P2
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic,windows_2000,windows_xp
  • CPU: x86
  • Submitted: 2009-02-24
  • Updated: 2013-01-29
  • Resolved: 2013-01-29
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.
JDK 7
7Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
There is a performance regression introduced by the fix for
4533021 Container needs API to change Z-ordering of children
Testcase attached.

For more information please refer to
http://forums.java.net/jive/thread.jspa?threadID=57686&tstart=0

Comments
This is not a functional bug, but should be considered a performance tweak instead.
29-01-2013

EVALUATION Affects HW components only.
08-09-2009

EVALUATION Too risky for 6 update.
14-07-2009

SUGGESTED FIX http://sa.sfbay.sun.com/projects/awt_data/6u16/6809227/
04-03-2009

EVALUATION The current impelementation of the Z-order changes is quite expensive. Any addition (or removal) of a component to a container does restack all components of the container. The fix is to change only the Z-order of the particular component upon addition (or removal) of the component. It's a rather risky fix for 6u14 b04.
04-03-2009