Useful playlists
Concurrency - • Java Concurrency
Lambdas & Streams - • Lambdas & Streams
Collection Framework - • Java Collection Framework
Core Java - • Core Java
---------------------------------------------------------------------------
In this first part of our two-part series, we dive deep into the crucial concepts and patterns you need to understand to master thread safety in your Java applications. This video is designed for both beginners and experienced developers who want to enhance their knowledge of concurrent programming.
What You'll Learn:
Shared and Mutable State: Understand why shared mutable state is a problem in concurrent programming and how to manage it effectively.
Lost Updates: Learn about the lost update problem and why it occurs when multiple threads try to update the same data simultaneously.
Reordering of Statements: Discover how the Java compiler and runtime can reorder statements for optimization and the implications for thread safety.
00:00 Intro
00:27 Thread Safety
1:30 Invariants, Pre and Post Conditions
7:06 Thread and Objects
10:24 Thread Safety definition
11:30 Shared & Mutable state
13:54 How to protect state
15:03 Lost updates Demo
20:56 Statement re-ordering
26:07 Closing remarks
--------------------------------------------------------
#coding #java #programming #techexplained #multithreadinginjava #multithreading #concurrency
On this page of the site you can watch the video online Zero to Hero Guide: Thread Safety in Java - Patterns and Common Issues (Part 1) with a duration of hours minute second in good quality, which was uploaded by the user TheCodeAlchemist 01 September 2024, share the link with friends and acquaintances, this video has already been watched 600 times on youtube and it was liked by 28 viewers. Enjoy your viewing!