Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 67234 invoked from network); 16 Aug 2005 13:42:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Aug 2005 13:42:57 -0000 Received: (qmail 77990 invoked by uid 500); 16 Aug 2005 13:42:56 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 77976 invoked by uid 99); 16 Aug 2005 13:42:56 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2005 06:42:55 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 4D9C0E2 for ; Tue, 16 Aug 2005 15:42:54 +0200 (CEST) Message-ID: <1339254937.1124199774316.JavaMail.jira@ajax.apache.org> Date: Tue, 16 Aug 2005 15:42:54 +0200 (CEST) From: "Edgar Poce (JIRA)" To: jackrabbit-dev@incubator.apache.org Subject: [jira] Updated: (JCR-188) Item states cached in UpdatableItemStateManager not discarded on logout In-Reply-To: <1906439776.1124199437440.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JCR-188?page=all ] Edgar Poce updated JCR-188: --------------------------- Attachment: 05-08-16-dispose.patch > Item states cached in UpdatableItemStateManager not discarded on logout > ----------------------------------------------------------------------- > > Key: JCR-188 > URL: http://issues.apache.org/jira/browse/JCR-188 > Project: Jackrabbit > Type: Improvement > Components: core > Reporter: Edgar Poce > Assignee: Stefan Guggisberg > Priority: Minor > Attachments: 05-08-12-one session per save.GIF, 05-08-16-dispose.patch, 05-08-16-one session.GIF > > The SessionItemStateManager disposes only the TransientItemStateManager but not the UpdatableItemStateManager. The latter doesn't release the resources and the cached items keep listening the overlayed state events until the ReferenceMap do its magic. According to my tests in certain circumstances it slows down jackrabbit very much. > In the charts you can see the time it takes to jackrabbit to save each child node. The first test uses a single session and the second creates a new session for each added node. > The patch I attach makes both tests take the same time. Opinions? > 05-08-16-one session.GIF > / login > / loop > / add node > / save > / logout > 05-08-16-one session per save.GIF > / loop > / login > / add node > / save > / logout -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira