Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 82005 invoked from network); 29 Jun 2009 14:25:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Jun 2009 14:25:59 -0000 Received: (qmail 18649 invoked by uid 500); 29 Jun 2009 14:26:09 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 18583 invoked by uid 500); 29 Jun 2009 14:26:09 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 18575 invoked by uid 99); 29 Jun 2009 14:26:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2009 14:26:09 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2009 14:26:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6D5EB234C004 for ; Mon, 29 Jun 2009 07:25:47 -0700 (PDT) Message-ID: <810696505.1246285547433.JavaMail.jira@brutus> Date: Mon, 29 Jun 2009 07:25:47 -0700 (PDT) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-2099) Make BasePage.getPageId() final In-Reply-To: <25530182.1163893538459.JavaMail.jira@brutus> 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 [ https://issues.apache.org/jira/browse/DERBY-2099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dag H. Wanvik updated DERBY-2099: --------------------------------- Derby Categories: [Performance] > Make BasePage.getPageId() final > ------------------------------- > > Key: DERBY-2099 > URL: https://issues.apache.org/jira/browse/DERBY-2099 > Project: Derby > Issue Type: Improvement > Components: Store > Affects Versions: 10.3.1.4 > Reporter: Knut Anders Hatlen > Assignee: Knut Anders Hatlen > Priority: Trivial > Fix For: 10.3.1.4 > > Attachments: getpageid.diff > > > When I did some profiling of Derby running with the test client in DERBY-1961, the profiling tool (Sun Studio's collect and analyzer) reported that BasePage.getPageId() used much CPU (although the method does almost nothing). Adding the 'final' keyword to the method definition seems to reduce the CPU usage and increase the throughput. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.