[ 
https://issues.apache.org/jira/browse/XERCESJ-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Costanzo updated XERCESJ-1520:
------------------------------------
    Fix Version/s: 2.12.0

> 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
>            Assignee: Michael Glavassevich
>             Fix For: 2.12.0
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to