diff options
author | acolyer <acolyer> | 2006-01-31 18:11:52 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2006-01-31 18:11:52 +0000 |
commit | 99e5089b8d757de2bf6f2052dafbf8b8412855a7 (patch) | |
tree | 9228c46daa965235491a01b2f1c51c4dc6c7c1f6 | |
parent | eec4990f7d6cad43994490193a4f76be5c580f9f (diff) | |
download | aspectj-99e5089b8d757de2bf6f2052dafbf8b8412855a7.tar.gz aspectj-99e5089b8d757de2bf6f2052dafbf8b8412855a7.zip |
added a cleanup method to release memory held in type maps
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | 5 |
1 files changed, 5 insertions, 0 deletions
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(); + } } |