2017年7月25日

Map存储容量及内存占用测试

摘要: Integer a = 1; long start = 0; long end = 0; // 先垃圾回收 System.gc(); start = Runtime.getRuntime().freeMemory(); HashMap map = new HashMap(); for (int i 阅读全文

posted @ 2017-07-25 13:45 范兵 阅读(3394) 评论(0) 推荐(0) 编辑

导航