[rfc][icedtea-web] remove rare deadlock in logging console

Andrew Azores aazores at redhat.com
Thu Mar 13 14:54:09 UTC 2014

On 03/13/2014 04:21 AM, Jiri Vanek wrote:
> I think this synchronisation is redundant.
> If not, then maybe  invokeLater should become invokeAndWait? But it is 
> locking too...
> Also, the importList is synchronized in only model-touching block[1].
> So this really should be ok to go.
> Only case where I have seen the deadlock occur is in elluminate with 
> CONSOLE ON and VISIBLE, It appeared in aprox 1/3 of cases.
> It did not appeared after the fix. Anyway - anybody who is running 
> head - may you try to run apps (and elluminat wit/without fix) with 
> cosnole on and visibele for a while?
> J

Makes sense to me, and using elluminate as a test case seems to show 
that this does fix the deadlock. OK to push.


Andrew A

More information about the distro-pkg-dev mailing list