decrease memory used

This commit is contained in:
wenshao
2013-06-06 12:28:36 +08:00
parent 18d20434b2
commit c5e7fe4537
17 changed files with 380 additions and 126 deletions
@@ -59,8 +59,8 @@ public abstract class WallProvider {
private static final ThreadLocal<Boolean> privileged = new ThreadLocal<Boolean>();
private final ConcurrentMap<String, WallFunctionStat> functionStats = new ConcurrentHashMap<String, WallFunctionStat>();
private final ConcurrentMap<String, WallTableStat> tableStats = new ConcurrentHashMap<String, WallTableStat>();
private final ConcurrentMap<String, WallFunctionStat> functionStats = new ConcurrentHashMap<String, WallFunctionStat>(16, 0.75f, 1);
private final ConcurrentMap<String, WallTableStat> tableStats = new ConcurrentHashMap<String, WallTableStat>(16, 0.75f, 1);
public final WallDenyStat commentDeniedStat = new WallDenyStat();