All Architectures Wisdoms!

Check out all blog posts for Concurrency. Click on a headline to read the teaser.

Defensive Copies

1 minute read

All Architectures Wisdoms! The simplest way to avoid problems with concurrency is to share only immutable data between threads. Immutable data is data which cannot changed Read More ›

Thread Locals

1 minute read

Another way to achieve thread-safety apart from writing immutable classes Read More ›

Concurrent Hash Map

less than 1 minute read

Superior brother of HashMap Read More ›

Thread States

less than 1 minute read

Different moods of threads Read More ›

Intrinsic Locks - Synchronization

1 minute read

Every object has a natural lock associated with it known as an intrinsic lock.A thread that needs to access object's fields has to acquire the object's intrinsic lock, use it & then release the intrinsic lock when it's done with them. During the time thread hold the lock, no other thread can acquire the same lock. Read More ›