[rfc][icedtea-web] Cache LRU Wrapper Locking and Unit Tests

Jie Kang jkang at redhat.com
Tue Sep 9 20:36:32 UTC 2014


Hello,

This patch modifies the locking system for the CacheLRUWrapper in order to use the locking provided by PropertiesFile (which was introduced in the CacheEntry Locking Fix)[1]. Both CacheEntry and CacheLRUWrapper use a PropertiesFile and the locking mechanism is the same. Tests have also been added to more thoroughly test the CacheLRUWrapper class.

[1] http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-August/029093.html

Reproducers and manual testing have been performed in order to ensure no regressions.

Thoughts?




Regards,

-- 

Jie Kang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itw-cache-lru-lock-test-1.patch
Type: text/x-patch
Size: 9121 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140909/b37b2b2f/itw-cache-lru-lock-test-1.patch>


More information about the distro-pkg-dev mailing list