Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7423

Non thread safe use of WeakHashMap can hang in get method.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              markrmiller@gmail.com Mark Miller
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: