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
Sur cette page du site, vous pouvez voir la vidéo en ligne Zero to Hero Guide: Thread Safety in Java - Patterns and Common Issues (Part 1) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur TheCodeAlchemist 01 septembre 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 600 fois et il a aimé 28 téléspectateurs. Bon visionnage!