Preethi Varsha M·1d agoConcurrent collectionsNormal Java collections such as HashMap, ArrayList and HashSet are not designed for concurrent modification by multiple threads without…
Preethi Varsha M·2d agoInter-thread communication and producer-consumerInter-thread communication: wait, notify & notifyAll
Preethi Varsha M·2d agoExecutorService and Thread PoolsSo far, we created threads manually. But creating a new thread for every request or task is expensive.
Preethi Varsha M·3d agoVolatile & Atomic VariablesThis is particularly important because interviewers often ask why volatile cannot replace synchronized.
Preethi Varsha M·3d agoRace conditions and thread safetyRace conditions — one of the most important concepts