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

Reply via email to