Return-Path: X-Original-To: apmail-xerces-j-dev-archive@www.apache.org Delivered-To: apmail-xerces-j-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 614A17D7B for ; Tue, 9 Aug 2011 02:10:50 +0000 (UTC) Received: (qmail 33646 invoked by uid 500); 9 Aug 2011 02:10:50 -0000 Delivered-To: apmail-xerces-j-dev-archive@xerces.apache.org Received: (qmail 33507 invoked by uid 500); 9 Aug 2011 02:10:49 -0000 Mailing-List: contact j-dev-help@xerces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: j-dev@xerces.apache.org Delivered-To: mailing list j-dev@xerces.apache.org Received: (qmail 33494 invoked by uid 99); 9 Aug 2011 02:10:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2011 02:10:49 +0000 X-ASF-Spam-Status: No, hits=-2000.8 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2011 02:10:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 67E02B2818 for ; Tue, 9 Aug 2011 02:10:27 +0000 (UTC) Date: Tue, 9 Aug 2011 02:10:27 +0000 (UTC) From: "Michael Glavassevich (JIRA)" To: j-dev@xerces.apache.org Message-ID: <1871584694.18676.1312855827422.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (XERCESJ-1520) SoftReferenceSymbolTable: rehash() and removeEntry() incorrectly handles SREntries MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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