db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r1186656 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/memory/MemoryLeakFixesTest.java
Date Thu, 20 Oct 2011 08:07:17 GMT
Author: kahatlen
Date: Thu Oct 20 08:07:17 2011
New Revision: 1186656

URL: http://svn.apache.org/viewvc?rev=1186656&view=rev
Log:
DERBY-5472: Speed up MemoryLeakFixesTest.testRepeatedDatabaseCreationWithAutoStats()

Remove the workaround for DERBY-5412 on phoneME since that problem is
not present in the rewritten test.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/memory/MemoryLeakFixesTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/memory/MemoryLeakFixesTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/memory/MemoryLeakFixesTest.java?rev=1186656&r1=1186655&r2=1186656&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/memory/MemoryLeakFixesTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/memory/MemoryLeakFixesTest.java
Thu Oct 20 08:07:17 2011
@@ -247,13 +247,6 @@ public class MemoryLeakFixesTest extends
                 JDBCDataSource.clearStringBeanProperty(ds, "shutdownDatabase");
             }
 
-            if (isPhoneME()) {
-                // DERBY-5412: phoneME fails after some iterations because the
-                // number of class names exceeds a VM limit. If we invoke
-                // garbage collection manually, it seems to be able to reclaim
-                // the classes that are no longer in use, and complete the test.
-                Runtime.getRuntime().gc();
-            }
         }
 
         // extra sanity check making sure that the database was created in the



Mime
View raw message