上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 144 下一页

2018年11月30日

3-4 并发模拟-代码

摘要: CountDownLatch,计数器向下减的一个闭锁。假设计数器的值cnt=3,CountDownLatch这个类可以阻塞线程,并保证线程在满足某种特定的条件下继续执行,这是CountDownLatch它可能起到的作用。 信号量,Semaphore它可以阻塞进程,并且控制同一时间的请求的并发量。Co 阅读全文

posted @ 2018-11-30 00:08 绿茵好莱坞 阅读(285) 评论(0) 推荐(0)

2018年11月28日

3-3 并发模拟-工具

摘要: C:\Users\ZHONGZHENHUA\imooc\concurrency\pom.xml com.mmall.concurrency.TestController http://blog.getpostman.com/2017/03/14/going-native/ Globals那里配置环境 阅读全文

posted @ 2018-11-28 18:54 绿茵好莱坞 阅读(212) 评论(0) 推荐(0)

3-2 案例准备工作

摘要: 定义注解 java.lang.annotation.Target java.lang.annotation.RetentionPolicy RUNTIME,注解会在CLASS的字节码文件中存在,在运行时通过反射可以拿到。SOURCE在编译的时候就会被忽略掉。 com.mmall.concurrenc 阅读全文

posted @ 2018-11-28 18:44 绿茵好莱坞 阅读(262) 评论(0) 推荐(0)

2018年11月27日

3-1 Git下载与安装

摘要: https://desktop.github.com/ 阅读全文

posted @ 2018-11-27 23:31 绿茵好莱坞 阅读(273) 评论(0) 推荐(0)

4-1 线程安全性-原子性-atomic-1

摘要: 阅读全文

posted @ 2018-11-27 15:25 绿茵好莱坞 阅读(198) 评论(0) 推荐(0)

2018年11月26日

3-1 案例环境初始化

摘要: https://start.spring.io/ 这是我们实际项目的地址:https://gitee.com/lvyinhaolaiwu/concurrency。取一下git上面的代码。 C:\Users\ZHONGZHENHUA\.ssh C:\Users\ZHONGZHENHUA\imooc\c 阅读全文

posted @ 2018-11-26 16:33 绿茵好莱坞 阅读(202) 评论(0) 推荐(0)

2-4+并发的优势与风险

摘要: 阅读全文

posted @ 2018-11-26 16:17 绿茵好莱坞 阅读(171) 评论(0) 推荐(0)

2-3 JAVA内存模型

摘要: 阅读全文

posted @ 2018-11-26 13:42 绿茵好莱坞 阅读(188) 评论(0) 推荐(0)

2-2+CPU多级缓存-乱序执行优化

摘要: 阅读全文

posted @ 2018-11-26 13:35 绿茵好莱坞 阅读(296) 评论(0) 推荐(0)

1-2+并发编程初体验

摘要: /Concurrency/src/main/java/com/mmall/concurrency/example/count/CountExample.java /Concurrency/src/main/java/com/mmall/concurrency/example/count/MapExa 阅读全文

posted @ 2018-11-26 13:09 绿茵好莱坞 阅读(251) 评论(0) 推荐(0)

上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 144 下一页

导航