From: aclement Date: Mon, 16 Nov 2009 22:33:58 +0000 (+0000) Subject: type demotion ON by default. runMinimalMemory OFF by default X-Git-Tag: V1_6_7~72 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=06edacb5c384cccdcac9ba8b5caec31622fe636e;p=aspectj.git type demotion ON by default. runMinimalMemory OFF by default --- diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/World.java b/org.aspectj.matcher/src/org/aspectj/weaver/World.java index 315e8b63b..274b22e5e 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/World.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/World.java @@ -911,7 +911,7 @@ public abstract class World implements Dump.INode { private static boolean debug = false; - private boolean demotionSystemActive = false; + private boolean demotionSystemActive = true; private boolean debugDemotion = false; // Strategy for entries in the expendable map @@ -1321,9 +1321,9 @@ public abstract class World implements Dump.INode { MessageUtil.info("[completeBinaryTypes=true] Completion of binary types activated")); } - s = p.getProperty(xsetTYPE_DEMOTION, "false"); - if (s.equalsIgnoreCase("true")) { - typeMap.demotionSystemActive = true; + s = p.getProperty(xsetTYPE_DEMOTION, "true"); // default is ON + if (s.equalsIgnoreCase("false")) { + typeMap.demotionSystemActive = false; } s = p.getProperty(xsetOVERWEAVING, "false");