Why need to encapsulate Logger again?
2023-08-22
Exploring Why Alibaba Java Development Manual Requires Developers to Re-wrap Logger.
1527 words
|
8 minutes
ThreadLocal & ScopedValue
Why ThreadLocal cause memory leaks and what is leaking? Can the ScopedValue replace ThreadLocal?
3400 words
|
17 minutes
Structured Concurrency
Structured concurrency was introduced only in Java 19 with virtual thread. So how do they work together and how to replace platform threads?
4273 words
|
21 minutes
Virtual Thread
Virtual Thread was introduced only in Java 19. Let's figure out how does it work and how to use it.
3020 words
|
15 minutes
CompletableFuture
A lengthy discussion of the basic concepts and underlying principles of CompletableFuture.
8373 words
|
42 minutes
Synchronized
Analyzing the Implementation of Lock Upgrade and Downgrade in synchronized Across Different JDK Versions, and Why Biased Locks Were Removed.
5053 words
|
25 minutes
Volatile
2022-04-27
Underlying principles of Volatile and Memory-Barriers in JDK source code.
2369 words
|
12 minutes
CAS
2021-10-13
CAS 作为理解多线程的入门知识,从 JDK 源码中分析它的实现原理。
2949 words
|
15 minutes
1
2