[RFC][Icedtea-Web]: Fix bug where you can clear cache while plugin is in use.

Denis Lila dlila at redhat.com
Thu Mar 17 11:53:42 PDT 2011


Hi Andrew.

Both patches look good to me.

Regards,
Denis.

----- Original Message -----
> > > Yes your suggestion would solve the problem about the order which
> > > clearcache and marking is called. We were talking about different
> > > things, I was talking about running more than one javaws/plugin in
> > > an
> > > environment that only gives exclusive locks.
> >
> > So was I. There was a misunderstanding here. Andrew found a problem
> > with my proposed 2 lock solution and we found a better one on irc.
> > For the record, here's the log:
> 
> I have attached 2 patches, the first
> 20110317_PART_1_mark_netx_running_for_plugin_v5.patch is to make it so
> that we will not be able to clear cache while the plugin and/or javaws
> is running. On the other hand when it is clearing cache it will wait
> for it to finish then proceed.
> 
> The second patch
> 20110317_PART_2_mark_netx_running_always_get_lock.patch is to make it
> so that if shared locks are not available, we will begin locking small
> regions per jvm.
> 
> Cheers,
> Andrew
> 
> --Snip--



More information about the distro-pkg-dev mailing list