From: aclement Date: Fri, 8 Jan 2010 19:10:44 +0000 (+0000) Subject: make the return to softrefs configurable X-Git-Tag: V1_6_8~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f31f43ba78eb1bcb45950ce224039f38678e3a2a;p=aspectj.git make the return to softrefs configurable --- diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/World.java b/org.aspectj.matcher/src/org/aspectj/weaver/World.java index bcebed34d..e07cd8497 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/World.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/World.java @@ -1389,9 +1389,9 @@ public abstract class World implements Dump.INode { if (s.equalsIgnoreCase("true")) { typeMap.debugDemotion = true; } - s = p.getProperty(xsetTYPE_REFS, "false"); - if (s.equalsIgnoreCase("true")) { - typeMap.policy = TypeMap.USE_WEAK_REFS; + s = p.getProperty(xsetTYPE_REFS, "true"); + if (s.equalsIgnoreCase("false")) { + typeMap.policy = TypeMap.USE_SOFT_REFS; } runMinimalMemorySet = p.getProperty(xsetRUN_MINIMAL_MEMORY) != null;