aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2010-01-08 19:10:44 +0000
committeraclement <aclement>2010-01-08 19:10:44 +0000
commitf31f43ba78eb1bcb45950ce224039f38678e3a2a (patch)
tree9dee168df12f8830ae8955db5088aea2a66e3f44
parent4927499304b79621f6f0b9d8ec116f51545cd18a (diff)
downloadaspectj-f31f43ba78eb1bcb45950ce224039f38678e3a2a.tar.gz
aspectj-f31f43ba78eb1bcb45950ce224039f38678e3a2a.zip
make the return to softrefs configurable
-rw-r--r--org.aspectj.matcher/src/org/aspectj/weaver/World.java6
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;