forwarded the question to awt-dev alias.

On 8/28/2013 3:00 PM, Vladimir Sitnikov wrote:
Hi,

In the heapdump of SQL Developer 4.0 I found that RepaintManager holds 23 items of sun.awt.image.BufImgVolatileSurfaceManager 5-10MiB each.

All the images are contained in "volatileMap" HashMap.

I identified that the key of the map is sun.awt.Win32GraphicsConfig and that class does not override equals/hashCode.

Can you please tell me if "using GraphicsConfig as a key knowing the fact this key does not ovveride equals/hashCode" is intentional or not?

I have checked several keys of the map (Win32GraphicsConfig) and they have identical value (even screen and sTypeOrig references point to the same objects), however as the Win32GraphicsConfig objects itself are different java objects they occupy different entries in valueMap.

--
Regards,
Vladimir Sitnikov

Reply via email to