File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
src/main/java/com/algorithm/study/demo Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 118118 - [ 量级锁,可重入锁,公平锁,非公平锁,乐观锁,悲观锁。] ( https://www.toutiao.com/i6630764198357893646/ )
119119 - 用过哪些原子类,他们的原理是什么。
120120 - JUC下研究过哪些并发工具,讲讲原理。
121- - 用过线程池吗,如果用过,请说明原理,并说说newCache和newFixed有什么区别,构造函
122- - 数的各个参数的含义是什么,比如coreSize,maxsize等。
121+ - [ 用过线程池吗,如果用过,请说明原理,并说说newCache和newFixed有什么区别,构造函数的各个参数的含义是什么,比如coreSize,maxsize等。] ( https://blog.csdn.net/wy11933/article/details/80399562 )
123122 - 线程池的关闭方式有几种,各自的区别是什么。
124123 - 假如有一个第三方接口,有很多个线程去调用获取数据,现在规定每秒钟最多有10个线程同时调用它,如何做到。
125124 - spring的controller是单例还是多例,怎么保证并发的安全。
Original file line number Diff line number Diff line change 1+ package com .algorithm .study .demo ;
2+
3+ /**
4+ * @Author: liuxun
5+ * @CreateDate: 2019/1/2 上午11:29
6+ * @Version: 1.0
7+ */
8+ public class MainTest {
9+ public static void main (String [] args ) {
10+ System .out .println (-1 << Integer .SIZE -3 );
11+ }
12+ }
You can’t perform that action at this time.
0 commit comments