From dev-return-29272-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Thu Sep 09 15:24:15 2010 Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 43026 invoked from network); 9 Sep 2010 15:24:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Sep 2010 15:24:15 -0000 Received: (qmail 54863 invoked by uid 500); 9 Sep 2010 15:24:15 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 54633 invoked by uid 500); 9 Sep 2010 15:24:13 -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 54626 invoked by uid 99); 9 Sep 2010 15:24:12 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 15:24:12 +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; Thu, 09 Sep 2010 15:23:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o89FNWWl021218 for ; Thu, 9 Sep 2010 15:23:33 GMT Message-ID: <13481296.97311284045812407.JavaMail.jira@thor> Date: Thu, 9 Sep 2010 11:23:32 -0400 (EDT) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-2744) Avoid element arrays in PathImpl MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Avoid element arrays in PathImpl -------------------------------- Key: JCR-2744 URL: https://issues.apache.org/jira/browse/JCR-2744 Project: Jackrabbit Content Repository Issue Type: Improvement Components: jackrabbit-spi, jackrabbit-spi-commons Reporter: Jukka Zitting The path handling code in spi-commons shows quite often in thread dumps and profiling results, as the current implementation does quite a bit of repetitive allocating and copying of path element arrays. We should be able to streamline and simplify the path handling code by only tracking the latest path element and a reference to the parent path. To do this efficiently we may need to adjust some of the Path and PathFactory method declarations (that currently assume element array -based paths) also in the SPI. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.