United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6809227 : poor performance on Panel.Add() method in jdk6

Details
Type:
Task
Submit Date:
2009-02-24
Status:
Closed
Updated Date:
2013-01-29
Project Name:
JDK
Resolved Date:
2013-01-29
Component:
client-libs
OS:
generic,windows_xp,windows_2000
Sub-Component:
java.awt
CPU:
x86
Priority:
P2
Resolution:
Won't Fix
Affected Versions:
1.4.2,5.0,6
Fixed Versions:
6-pool

Related Reports
Backport:
Duplicate:
Duplicate:
Relates:
Relates:
Relates:
Relates:
Relates:

Sub Tasks

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.
                                     
2013-01-29
EVALUATION

Affects HW components only.
                                     
2009-09-08
EVALUATION

Too risky for 6 update.
                                     
2009-07-14
SUGGESTED FIX

http://sa.sfbay.sun.com/projects/awt_data/6u16/6809227/
                                     
2009-03-04
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.
                                     
2009-03-04



Hardware and Software, Engineered to Work Together