From 06edacb5c384cccdcac9ba8b5caec31622fe636e Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 16 Nov 2009 22:33:58 +0000 Subject: [PATCH] type demotion ON by default. runMinimalMemory OFF by default --- org.aspectj.matcher/src/org/aspectj/weaver/World.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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"); -- 2.39.5