JDK-6634684 : GDI leaks in 6536107 should be resolved
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 5.0u15
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2007-11-28
  • Updated: 2013-10-10
  • Resolved: 2013-10-10
Related Reports
Relates :  
Description
The test case and the procedure attached to the bug report. Open Task Manager to detect GDI leak.

REPRODUCE : 
1) Invoke the attached TestApplet/PrintApplet.html by double-clicking.
You will see an applet with the button "Print".
2) Click the "Print" button. You will see a print confirmation dialogue.
3) Click the "Yes" button, then "Page Setup" dialogue will open.
4) Click the "OK" or "Cancel" button, then "Print" dialogue will open.
5) Click the "Cancel" button.
6) Repeat step 2) to 5).


RESULTS:
[Win XP SP2 Japanese,  HyperThreading OFF]
Time  : 7hours run
Memory: 61.38MB -> 227.85MB (166.47MB Increased)
Thread: 22      -> 22       (0 Increased)
Handle: 846     -> 874      (28 Increased)
GDI   : 1038    -> 5199     (4161 Increased)  //<====

[Win XP SP2 English, HyperThreading ON]
Time  : 15hours run
Memory: 60.09MB -> 150.51MB (90.42 MB Increased)
Thread: 22      -> 23 (1 Increased)
Handle: 826     -> 853 (27 Increased)
GDI   : 2748    -> 9995 (7247 Increased)  //<====

JRE : 1.5.0_15-internal 
(jre-1_5_0_15-internal-bin-b01-windows-i586-07_nov_2007.exe is attached.)