jakarta-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51752] HTTP Cache is broken when using "Retrieve all embedded resources" with concurrent pool
Date Wed, 07 Sep 2011 12:53:25 GMT

shmulikk@gmail.com changed:

           What    |Removed                     |Added
         OS/Version|                            |All

--- Comment #1 from shmulikk@gmail.com 2011-09-07 12:53:25 UTC ---
Caused by current implementation of CacheManager, which using ThreadLocal to
separate Cache for each thread(virtual user).

This is causing to separate the Cache to each thread in the concurrent pool,
thus breaking the cache.

Currently in CacheManager.java:
private transient ThreadLocal<Map<String, CacheEntry>> threadCache;

Suggested solution:
Removing ThreadLocal from the code.
Changing the key to include the url (current key) + ThreadName.

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org

View raw message