- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    7, 8, 9, 10, 11, 12, 13, 14
- 
        b13
- 
        windows
                    When a DC becomes unused, it is moved from activeDCList to passiveDCList to be released later. It will stay in the passiveDCList until a new DC is requested for the same window or the window is destroyed.
In a scenario where several windows are created, shown, and then hidden, the stale DCs will be in the passiveDCList for quite a while. These DC will never be used again, they will be released sooner or later.
Thus we can release all DC from passiveDCList when a request for a new DC is received. It will reduce Java usage of GDI resources.
In a scenario where several windows are created, shown, and then hidden, the stale DCs will be in the passiveDCList for quite a while. These DC will never be used again, they will be released sooner or later.
Thus we can release all DC from passiveDCList when a request for a new DC is received. It will reduce Java usage of GDI resources.
- relates to
- 
                    JDK-8130136 Swing window sometimes fails to repaint partially when it becomes exposed -           
- Resolved
 
-         
- links to
