摘要: package cn.study.concurrency.ch11; /** * 锁分段 * @author xiaof * */ public class StripedMap { //同步策略:就是对数组进行分段上锁,n个节点用n%LOCKS锁保护 private static final int N_LOCKS = 16; private final No... 阅读全文
posted @ 2016-11-18 11:55 cutter_point 阅读(853) 评论(0) 推荐(0)