文章分类 -  javase

摘要:一、ConcurrentHashmap 1、jdk1.7版本 第一要点、table 里面有segment数组(是一个锁,也是一个数组),segment里面有entry数组,entry数组,是一个链表数组。 put(k,v)数据的时候,先对key进行计算出hash,看定位到那个segment,然后锁住 阅读全文
posted @ 2020-03-14 11:39 math_lin 阅读(153) 评论(0) 推荐(0)
摘要:一、官网下载链接 https://www.oracle.com/technetwork/java/javase/downloads/index.html 二、版本下载 三、点击后进入 同意协议后,右键下方的下载链接 复制链接地址 得到为:https://download.oracle.com/otn 阅读全文
posted @ 2020-01-09 13:57 math_lin 阅读(318) 评论(0) 推荐(0)