<AWT Dev> <Swing Dev> Review request #4: 6852592 (invalidate() must be smarter) - approved

Anthony Petrov Anthony.Petrov at Sun.COM
Wed Oct 14 08:21:34 PDT 2009

Hi Rémi.

On 10/14/2009 06:51 PM, Rémi Forax wrote:
>> About a year ago or so we developed a fix to replace the components 
>> array with a collection in the Container class. The initial version of 
> did you try top use a CopyOnWriteArrayList as Collection ?
> It's a thread safe collection which duplicate the array at each mutation.

The purpose of that fix was increasing the performance (see [1].) Tests 
has shown that the ArrayList best suits our needs.

[1] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6616323

best regards,

More information about the awt-dev mailing list