Bug 19846 - AWT Toolkit.createImage very slow
Summary: AWT Toolkit.createImage very slow
Status: RESOLVED FIXED
Alias: None
Product: classpath
Classification: Unclassified
Component: awt (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: pre-0.18
Assignee: Thomas Fitzsimmons
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-09 10:13 UTC by Norman Hendrich
Modified: 2005-10-16 01:54 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2005-05-14 21:07:53


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Norman Hendrich 2005-02-09 10:13:15 UTC
Loading images from files, inputstreams, or URLs via the variants of
Toolkit.getImage( ... ) is incredibly slow in gcc-4.0-20050130.

Even creating a few small icons incurs noticable overhead (some seconds)
on my Athlon 2600+. Loading JPG-images of ~800x600 pixels can take over
ten seconds.

No seperate testcase, but you can use the testcase for bug 19839 
(supply a bigger image instead of the small 64x64 icons) or the 
program attached to  http://gcc.gnu.org/ml/java/2005-02/msg00016.html
Comment 1 Andrew Pinski 2005-02-12 22:33:26 UTC
Confirmed.
Comment 2 Thomas Fitzsimmons 2005-07-20 19:42:25 UTC
Fixed by Sven de Marothy in GNU Classpath.  Closing.