当前位置:网站首页>14. Course summary and review

14. Course summary and review

2022-06-11 12:14:00 Shixiaozan

This is almost the end of the course ,O(∩_∩)O 

  

Please be sure to learn + Move your mouth when you change jobs , 

What you call understanding may just be understanding , If you move your mouth, you may die , Please work hard to polish yourself  

  

The last comb walk ...... 

1、CompletableFuture

2、“ lock ” Things

        2.1、 Pessimistic locking

        2.2、 Optimism lock

        2.3、 spinlocks

        2.4、 Reentrant lock ( Recursive lock )

        2.5、 Write lock ( An exclusive lock )/ Read the lock ( Shared lock )

        2.6、 Fair lock / Not fair lock

        2.7、 Deadlock

        2.8、 Biased locking

        2.9、 Lightweight lock

        2.10、 Weight lock

        2.11、 postmark ( Notes ) lock

3、JMM

4、synchronized And upgrade optimization

        4.1、 What the hell is the lock

        4.2、 unlocked → Biased locking → Lightweight lock → Weight lock

        4.3、Java Object memory layout and object header

        4.4、64 Bitmap

5、CAS

        5.1、CAS The underlying principle of

        5.2、CAS problem :ABA problem

6、volatile

        6.1、 characteristic

        6.2、 Memory barrier

7、LockSupport

        7.1、 What is it?

        7.2、LockSupport.park and Object.wait difference

8、AbstractQueuedSynchronizer

        8.1、 What is it?

        8.2、 Go out and join the team Node

9、ThreadLocal

10、 Atomic enhancement class

原网站

版权声明
本文为[Shixiaozan]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206111207398363.html