There are two different concepts here.
- Quick Access Code and Slow Path
- Restless and inconsistent synchronization
Slow-path vs Fast-path code
This is another way to identify the machine binary manufacturer.
With HotSpot VM, the slow path code is the binary code created by the C ++ implementation, where the fast path code means the code created by the JIT compiler.
In general, the quick access code is much optimized. To fully understand the JIT compilers, wikipedia is a good place to start .
Restless and consistent synchronization
Java Synchronization Design ( Monitors ) have a ownership concept. When a thread tries to block (obtain ownership) on the monitor, it can be blocked (belongs to another thread) or unlocked.
Restless synchronization occurs in two different scenarios:
- Unlocked Monitor (property out of order)
- The monitor already belongs to the same stream.
Alleged synchronization, on the other hand, means that the thread will be blocked until the owner thread has disabled the monitor lock.
Answering the question
By means of quick access to incomplete synchronization, the author means that the fastest bytecode algorithm (quick way) in the cheapest scenario (contactless synchronization).
source share