并发
文章平均质量分 80
并发
CComma
这个作者很懒,什么都没留下…
展开
-
Disruptor
Disruptor 介绍 主页:http://lmax-exchange.github.io/disruptor/ 源码:https://github.com/LMAX-Exchange/disruptor GettingStarted: https://github.com/LMAX-Exchange/disruptor/wiki/Getting-Started api: http://lmax-exchange.github.io/disruptor/docs/index.html maven: htt原创 2021-01-10 13:13:45 · 106 阅读 · 0 评论 -
JMH Java 准测试工具套件
JMH Java准测试工具套件 什么是JMH 官网 http://openjdk.java.net/projects/code-tools/jmh/ 创建 JMH 测试 创建 Maven 项目,添加依赖 <dependency> <groupId>org.openjdk.jmh</groupId> <artifactId>jmh-core</artifactId> <version>1.21</vers原创 2021-01-10 13:12:52 · 111 阅读 · 0 评论 -
Java 并发学习笔记
文章目录线程1. 创建线程2. 线程方法2.1. 调度2.2. 优先级2.3. 中断3. 线程的生命周期线程池1. ThreadPoolExecutor1.1. 七大参数1.2. API1.3. 线程池状态1.4. 源码2. ForkJoinPool2.1. RecursiveAction2.2. RecursiveTask3. Executors线程安全场景1. 不可变2. 同步3. 无同步synchronized1. Api2. 使用3. 用户态与内核态4. 锁升级4.1. 偏向锁4.2. 自旋锁4.3原创 2021-01-10 13:07:49 · 332 阅读 · 1 评论