db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r471862 - /db/derby/code/trunk/java/engine/org/apache/derby/iapi/store/raw/PageKey.java
Date Mon, 06 Nov 2006 19:58:19 GMT
Author: kahatlen
Date: Mon Nov  6 11:58:18 2006
New Revision: 471862

URL: http://svn.apache.org/viewvc?view=rev&rev=471862
Log:
DERBY-2046: Make class org.apache.derby.iapi.store.raw.PageKey final

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.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/iapi/store/raw/PageKey.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/store/raw/PageKey.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/store/raw/PageKey.java?view=diff&rev=471862&r1=471861&r2=471862
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/store/raw/PageKey.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/store/raw/PageKey.java Mon Nov 
6 11:58:18 2006
@@ -37,7 +37,7 @@
 */
 
 
-public class PageKey
+public final class PageKey
 {
 	private final ContainerKey	container;
 	private final long	pageNumber;		// page number



Mime
View raw message