From derby-commits-return-14990-apmail-db-derby-commits-archive=db.apache.org@db.apache.org Thu Oct 20 08:07:42 2011 Return-Path: X-Original-To: apmail-db-derby-commits-archive@www.apache.org Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7DA9F7713 for ; Thu, 20 Oct 2011 08:07:42 +0000 (UTC) Received: (qmail 27138 invoked by uid 500); 20 Oct 2011 08:07:42 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 27064 invoked by uid 500); 20 Oct 2011 08:07:40 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 27044 invoked by uid 99); 20 Oct 2011 08:07:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Oct 2011 08:07:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Oct 2011 08:07:38 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 0895223888EA; Thu, 20 Oct 2011 08:07:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: derby-commits@db.apache.org From: kahatlen@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111020080718.0895223888EA@eris.apache.org> 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