java八股 併發+資料結構

calvincalvin發表於2024-08-20

image-20240819194952022

image-20240819195029050

image-20240819195614360

image-20240819201023588

image-20240819202632652

image-20240819203622920

Java7 ConcurrentHashMap 儲存結構

image-20240819204008440

Java8 ConcurrentHashMap 儲存結構

image-20240819204800083

image-20240819210202392

image-20240819220927229

CAS缺點

  1. 耗費cpu
  2. aba問題

image-20240819222421373

當前進度

https://javaguide.cn/java/concurrent/java-concurrent-questions-02.html#reentrantreadwritelock

相關文章