db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2046) Make class org.apache.derby.iapi.store.raw.PageKey final
Date Sat, 04 Nov 2006 14:31:18 GMT
     [ http://issues.apache.org/jira/browse/DERBY-2046?page=all ]

Knut Anders Hatlen updated DERBY-2046:
--------------------------------------

    Attachment: pagekey.diff

This patch makes the class final. I have run a couple of performance tests with the test client
in DERBY-1961. The effect of the patch is minimal, but it seems to have a small positive impact
especially on the 10000x1000 joins.

> Make class org.apache.derby.iapi.store.raw.PageKey final
> --------------------------------------------------------
>
>                 Key: DERBY-2046
>                 URL: http://issues.apache.org/jira/browse/DERBY-2046
>             Project: Derby
>          Issue Type: Improvement
>          Components: Services, Performance
>    Affects Versions: 10.3.0.0
>            Reporter: Knut Anders Hatlen
>         Assigned To: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: pagekey.diff
>
>
> The methods of the PageKey class are called frequently both from the lock manager and
the cache manager. Since no other classes extend it, it should be declared final to help the
run-time compiler optimize the method calls.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message