Synchronized
JDK 1.5 Implementation with synchronized, wait and notify
synchronized for accessing mutual exclusive resources
Scope of lock
Internals
Downsides
Could only perform operation on a single variable, not multiples
Could not break deadlock by releasing the lock proactively
Optimization after JDK 1.6
Bias, lightweight and heavyweight lock
Lock coarsening and elision
Adaptive spinning
Wait and notify methods for coordinating threads
Fundation for asynchronous programming - Future task
Last updated
Was this helpful?