[rfc][icedtea-web] Fix PR854: Resizing an applet several times causes 100% CPU load
Adam Domurad
adomurad at redhat.com
Tue May 14 13:49:35 PDT 2013
Nasty bug with a simple fix. This has been reported since icedtea-web 1.1
See http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=854. The
reproducer is very easy to set up. Placing a print statement reveals
that after two resize's, all of icedtea-web's worker threads are busy.
The waiting before was too fragile it seems. The version in the patch
shouldn't dead-lock in any code-path. Everything works as expected with
this patch (there really is no possible harm, too).
This should go into any branches that will be released again, IMHO. From
the bug comments it seems this is quite a visible issue.
Thanks,
-Adam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Fix-PR854.patch
Type: text/x-patch
Size: 1488 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20130514/5de7a87d/Fix-PR854.patch
More information about the distro-pkg-dev
mailing list