db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r546440 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/xact/Xact.java
Date Tue, 12 Jun 2007 09:45:18 GMT
Author: kahatlen
Date: Tue Jun 12 02:45:17 2007
New Revision: 546440

URL: http://svn.apache.org/viewvc?view=rev&rev=546440
Log:
DERBY-2657: Performance regression after check-in of svn 531971

Fixed regression by making Xact.getDataValueFactory() return the value
of the dataValueFactory field instead of calling
Monitor.findServiceModule().

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/xact/Xact.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/xact/Xact.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/xact/Xact.java?view=diff&rev=546440&r1=546439&r2=546440
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/xact/Xact.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/xact/Xact.java Tue Jun
12 02:45:17 2007
@@ -29,7 +29,6 @@
 import org.apache.derby.iapi.services.daemon.Serviceable;
 import org.apache.derby.iapi.services.locks.LockFactory;
 import org.apache.derby.iapi.services.locks.Limit;
-import org.apache.derby.iapi.services.monitor.Monitor;
 
 import org.apache.derby.iapi.store.raw.ContainerHandle;
 import org.apache.derby.iapi.store.raw.Compensation;
@@ -2707,10 +2706,7 @@
     public DataValueFactory getDataValueFactory()
 		throws StandardException
     {
-        return((DataValueFactory) 
-            Monitor.findServiceModule(
-                xactFactory,
-                org.apache.derby.iapi.reference.ClassName.DataValueFactory));
+        return dataValueFactory;
     }
 
 



Mime
View raw message