Volatile到底是用来干嘛的,来看一段程序
力扣61
https://leetcode-cn.com/problems/rotate-list/
力扣24
https://leetcode-cn.com/problems/swap-nodes-in-pairs/
力扣53
https://leetcode-cn.com/problems/maximum-subarray/
力扣406
https://leetcode-cn.com/problems/queue-reconstruction-by-height/
力扣19
https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list/
力扣31
https://leetcode-cn.com/problems/next-permutation/
本文将介绍synchronized,cas等概念
力扣11
https://leetcode-cn.com/problems/container-with-most-water/
我们平时用的基本上都是强引用M m = new M();
只要强引用在,gc不回收该对象
wjwABCDEFG
Shaoguan, China
文章
104
分类
15
标签
26
life
Others
游戏和引擎
生活随笔
Update your browser to view this website correctly. Update my browser now
×