diff options
author | aclement <aclement> | 2010-01-08 19:10:44 +0000 |
---|---|---|
committer | aclement <aclement> | 2010-01-08 19:10:44 +0000 |
commit | f31f43ba78eb1bcb45950ce224039f38678e3a2a (patch) | |
tree | 9dee168df12f8830ae8955db5088aea2a66e3f44 | |
parent | 4927499304b79621f6f0b9d8ec116f51545cd18a (diff) | |
download | aspectj-f31f43ba78eb1bcb45950ce224039f38678e3a2a.tar.gz aspectj-f31f43ba78eb1bcb45950ce224039f38678e3a2a.zip |
make the return to softrefs configurable
-rw-r--r-- | org.aspectj.matcher/src/org/aspectj/weaver/World.java | 6 |
1 files changed, 3 insertions, 3 deletions
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; |