java
vicky_lxw
具备多年开发经验的程序媛
展开
-
下载文件名乱码问题
解决服务端下载方法中,浏览器客户端看到下载文件名乱码问题原创 2020-11-10 14:33:02 · 335 阅读 · 0 评论 -
ArrayList和LinkedList的大致区别
一般大家都知道ArrayList和LinkedList的大致区别: 1.ArrayList是实现了基于动态数组的数据结构,LinkedList基于链表的数据结构。 2.对于随机访问get和set,ArrayList觉得优于LinkedList,因为LinkedList要移动指针。 3.对于新增和删除操作add和remove,LinedList比较占优势转载 2017-11-20 10:35:16 · 169 阅读 · 0 评论 -
【集合类型的并发】Collections.synchronizedList
摘要: 详细的解析:Collections.synchronizedList 1 :关注要点,为什么在有synchroniezed方法的同时会出现 Collections.synchronizedList 2 :知识背景: 您可能需要了解java Synchronized方法的加锁的各种机制,包括如何上锁,锁对象 3 : plus: 您需要不断的深化 Java加锁的各种机制转载 2017-12-27 20:43:49 · 259 阅读 · 0 评论 -
JVM报错GC overhead limit exceeded
根据sun的说法: "if too much time is being spent in garbage collection: if more than 98% of the total time is spent in garbage collection and less than 2% of the heap is recovered, an OutOfMemoryError wil转载 2017-12-28 15:22:51 · 1545 阅读 · 0 评论