xerces-j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Glavassevich (JIRA)" <xerces-j-...@xml.apache.org>
Subject [jira] [Created] (XERCESJ-1520) SoftReferenceSymbolTable: rehash() and removeEntry() incorrectly handles SREntries
Date Tue, 09 Aug 2011 02:10:27 GMT
SoftReferenceSymbolTable: rehash() and removeEntry() incorrectly handles SREntries
----------------------------------------------------------------------------------

                 Key: XERCESJ-1520
                 URL: https://issues.apache.org/jira/browse/XERCESJ-1520
             Project: Xerces2-J
          Issue Type: Bug
          Components: Other
    Affects Versions: 2.11.0
            Reporter: Michael Glavassevich


While debugging I noticed that fCount can become negative if rehash() encounters cleared SREntries.
This occurs because we process the SREntries again in removeEntry() without recognizing that
they've already been removed from the table. We also weren't correctly / consistently updating
the 'next', 'prev' and 'bucket' fields in rehash() which can lead to the wrong entries being
removed from the table when we clean-up the reference queue.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message