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
@@ -66,7 +66,7 @@ public class JdbcDataSourceStat implements JdbcDataSourceStatMBean {
//
});
private final ConcurrentMap<Long, JdbcConnectionStat.Entry> connections = new ConcurrentHashMap<Long, JdbcConnectionStat.Entry>();
private final ConcurrentMap<Long, JdbcConnectionStat.Entry> connections = new ConcurrentHashMap<Long, JdbcConnectionStat.Entry>(16, 0.75f, 1);
private final AtomicLong clobOpenCount = new AtomicLong();