lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-7423) Non thread safe use of WeakHashMap can hang in get method.
Date Sat, 18 Apr 2015 20:38:58 GMT
Mark Miller created SOLR-7423:
---------------------------------

             Summary: Non thread safe use of WeakHashMap can hang in get method.
                 Key: SOLR-7423
                 URL: https://issues.apache.org/jira/browse/SOLR-7423
             Project: Solr
          Issue Type: Bug
            Reporter: Mark Miller


You can see this with some googling and I just saw it happen in TestSolrConfigHandler. A thread
was stuck in HttpCacheHeaderUtil in the get for the WeakHashMap.

Apache commons-beanutils has a WeakFastHashMap that is supposed to be thread safe and read
efficient I think.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message