Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-04-16 05:42:45 -0400
committerEike Stepper2013-04-16 05:42:45 -0400
commit7f169de54f3f85ac4418e3230b7ad1d5913b70c2 (patch)
treeb428d6a4ed0b7f03f73ea0310284e72ff66e11a2 /plugins/org.eclipse.net4j.tests/src/org
parent7040c929c29a64bb427eb17a6f1a3051209f7774 (diff)
downloadcdo-7f169de54f3f85ac4418e3230b7ad1d5913b70c2.tar.gz
cdo-7f169de54f3f85ac4418e3230b7ad1d5913b70c2.tar.xz
cdo-7f169de54f3f85ac4418e3230b7ad1d5913b70c2.zip
[405774] Memory leak through TimerTasks
https://bugs.eclipse.org/bugs/show_bug.cgi?id=405774
Diffstat (limited to 'plugins/org.eclipse.net4j.tests/src/org')
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java
index bd8427a724..5ae8866c0d 100644
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java
+++ b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java
@@ -14,6 +14,7 @@ import org.eclipse.net4j.internal.util.test.TestExecuter;
import org.eclipse.net4j.tests.bundle.OM;
import org.eclipse.net4j.util.ReflectUtil;
import org.eclipse.net4j.util.concurrent.ConcurrencyUtil;
+import org.eclipse.net4j.util.concurrent.TrackableTimerTask;
import org.eclipse.net4j.util.event.EventUtil;
import org.eclipse.net4j.util.event.IListener;
import org.eclipse.net4j.util.io.IORuntimeException;
@@ -203,6 +204,15 @@ public abstract class AbstractOMTest extends TestCase
try
{
+ TrackableTimerTask.logConstructionStackTraces(2 * DEFAULT_TIMEOUT);
+ }
+ catch (Exception ex)
+ {
+ IOUtil.print(ex);
+ }
+
+ try
+ {
clearReferences(getClass());
}
catch (Exception ex)

Back to the top