Description: Java virtual machine to use locking mechanism to realize multi-thread synchronization. Locking mechanism for shared data structures to maintain the critical area of shared data structures are usually read-only operations. Read-only lock means that when a thread holding a lock on the read-only critical section other threads can go directly to the read-only critical section without waiting. read-only lock can greatly improve the performance of synchronization lock mechanism. locking mechanism for the Java virtual machine can be divided into lightweight and heavyweight locks lock layers, when the thread conflict from the lightweight heavyweight steering lock lock lock this paper from lightweight and heavyweight lock two levels were optimized for read-only lock lightweight lock read-only optimization algorithm can reduce the overhead of atomic operations . heavyweight a read-only lock can enable optimization of multiple threads in the critical region in a read only last a read-only lock to
To Search:
File list (Check if you may need any files):
Java Virtual Machine.pdf