db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2099) Make BasePage.getPageId() final
Date Mon, 29 Jun 2009 14:25:47 GMT

     [ 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.


Mime
View raw message