Using volatile vs AtomicInteger in Java concurrency

Author: Defog Tech
Published At: 2018-07-03T00:00:00
Length: 07:27

Summary

Description

When to use volatile, and when to use Atomic counterparts like AtomicInteger? What are the advantages and use cases of each?

Channel

----------------------------------

Complex concepts explained in short & simple manner. Topics include Java Concurrency, Spring Boot, Microservices, Distributed Systems etc. Feel free to ask any doubts in the comments. Also happy to take requests for new videos.

Subscribe or explore the channel - https://youtube.com/defogtech

New video added every weekend.

Popular Videos

----------------------------------

What is an API Gateway - https://youtu.be/vHQqQBYJtLI

Executor Service - https://youtu.be/6Oo-9Can3H8

Introduction to CompletableFuture - https://youtu.be/ImtZgX1nmr8

Java Memory Model in 10 minutes - https://youtu.be/Z4hMFBvCDV4

Volatile vs Atomic - https://youtu.be/WH5UvQJizH0

What is Spring Webflux - https://youtu.be/M3jNn3HMeWg

Java Concurrency Interview question - https://youtu.be/_RSAS-gIjGo

Translated At: 2025-02-23T20:20:50Z

Request translate (One translation is about 5 minutes)

Version 3 (stable)

Optimized for a single speaker. Suitable for knowledge sharing or teaching videos.

Recommended Videos