[RFC][Icedtea-Web]: Fix bug where you can clear cache while plugin is in use.
Andrew Su
asu at redhat.com
Thu Mar 17 10:29:32 PDT 2011
> > 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--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20110317_PART_1_mark_netx_running_for_plugin_v5.patch
Type: text/x-patch
Size: 9976 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110317/f934ea7c/20110317_PART_1_mark_netx_running_for_plugin_v5.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20110317_PART_2_mark_netx_running_always_get_lock.patch
Type: text/x-patch
Size: 1470 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110317/f934ea7c/20110317_PART_2_mark_netx_running_always_get_lock.patch
More information about the distro-pkg-dev
mailing list