From 99e5089b8d757de2bf6f2052dafbf8b8412855a7 Mon Sep 17 00:00:00 2001 From: acolyer Date: Tue, 31 Jan 2006 18:11:52 +0000 Subject: [PATCH] added a cleanup method to release memory held in type maps --- .../ajdt/internal/compiler/lookup/EclipseFactory.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java index f867241be..93ed90c07 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java @@ -1020,4 +1020,9 @@ public class EclipseFactory { return fromBinding((MethodBinding)declaringElement); } } + + public void cleanup() { + this.typexToBinding.clear(); + this.rawTypeXToBinding.clear(); + } } -- 2.39.5