From dev-return-29486-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Fri Oct 01 06:59:59 2010 Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 4921 invoked from network); 1 Oct 2010 06:59:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Oct 2010 06:59:59 -0000 Received: (qmail 55209 invoked by uid 500); 1 Oct 2010 06:59:59 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 54986 invoked by uid 500); 1 Oct 2010 06:59:56 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 54978 invoked by uid 99); 1 Oct 2010 06:59:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Oct 2010 06:59:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Oct 2010 06:59:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o916xY4L014947 for ; Fri, 1 Oct 2010 06:59:34 GMT Message-ID: <30888188.493071285916374555.JavaMail.jira@thor> Date: Fri, 1 Oct 2010 02:59:34 -0400 (EDT) From: "Tom Quellenberg (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-2546) SISM blocks the item state cache when loading a new item In-Reply-To: <1513685313.99201267799787118.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-2546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tom Quellenberg updated JCR-2546: --------------------------------- Attachment: JCR-2546_1.6.txt Please find attached a patch for the 1.6 branch > SISM blocks the item state cache when loading a new item > -------------------------------------------------------- > > Key: JCR-2546 > URL: https://issues.apache.org/jira/browse/JCR-2546 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-core > Reporter: Jukka Zitting > Assignee: Jukka Zitting > Fix For: 2.1.0 > > Attachments: JCR-2546_1.6.txt > > > The SharedItemStateManager.getNonVirtualItemState() method contains a loadItemState() call within a "synchronized (cache)" block. This prevents all item state cache access while a new item is being loaded from the persistence manager. I have at least one case where this has caused a serious performance drop, essentially synchronizing repository access for all readers. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.