From: aclement Date: Tue, 10 Nov 2009 01:46:35 +0000 (+0000) Subject: default values! X-Git-Tag: V1_6_7~106 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=134cb2a16ac8330d55fe0183edf9c25c7ed33a5f;p=aspectj.git default values! --- diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/World.java b/org.aspectj.matcher/src/org/aspectj/weaver/World.java index 4f85f4023..07b1c39f3 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/World.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/World.java @@ -137,8 +137,8 @@ public abstract class World implements Dump.INode { public boolean forDEBUG_structuralChangesCode = false; public boolean forDEBUG_bridgingCode = false; public boolean optimizedMatching = true; - protected long timersPerJoinpoint; - protected long timersPerType; + protected long timersPerJoinpoint = 25000; + protected long timersPerType = 250; public int infoMessagesEnabled = 0; // 0=uninitialized, 1=no, 2=yes @@ -1580,7 +1580,8 @@ public abstract class World implements Dump.INode { totalTime += timePerPointcut.get(p); } world.getMessageHandler().handleMessage( - MessageUtil.info("Pointcut matching cost (total=" + (totalTime / 1000000) + "ms for "+joinpointCount+" joinpoint match calls):")); + MessageUtil.info("Pointcut matching cost (total=" + (totalTime / 1000000) + "ms for " + joinpointCount + + " joinpoint match calls):")); for (String p : joinpointsPerPointcut.keySet()) { StringBuffer sb = new StringBuffer(); sb.append("Time:" + (timePerPointcut.get(p) / 1000000) + "ms (jps:#" + joinpointsPerPointcut.get(p) @@ -1619,7 +1620,8 @@ public abstract class World implements Dump.INode { + " fast match calls):")); for (String p : fastMatchTimesPerPointcut.keySet()) { StringBuffer sb = new StringBuffer(); - sb.append("Time:" + (fastMatchTimesPerPointcut.get(p) / 1000000) + "ms (types:#"+fastMatchTypesPerPointcut.get(p)+") fast matching against " + p); + sb.append("Time:" + (fastMatchTimesPerPointcut.get(p) / 1000000) + "ms (types:#" + + fastMatchTypesPerPointcut.get(p) + ") fast matching against " + p); world.getMessageHandler().handleMessage(MessageUtil.info(sb.toString())); } world.getMessageHandler().handleMessage(MessageUtil.info("---"));