What are spinlocks?

Published: 22 December 2018
on channel: Defog Tech
39,560
749

Most locks are busy only for small amount of time. Instead of going into a wait-state, more often its more efficient for the thread to simply try few times to acquire the lock. This concept is called SpinLocks or spinning.


Channel
----------------------------------
Master difficult programming concepts in few minutes. I try to explain difficult concepts like Java concurrency in simple to understand manner. Explore videos on topics like Spring Boot, Cloud Foundry, Java 8 and more. I am happy to clarify your doubts. Ask me anything in the comments. Also happy to take requests for new videos.

New video added every Sunday.

Subscribe or explore the channel - http://bit.ly/defog_tech

Current Playlists
----------------------------------
Java Executor Service - http://bit.ly/exec_srvc
Java Concurrency - http://bit.ly/java_crncy
Spring Boot 2.0 - http://bit.ly/spr_boot2
Java 8 - http://bit.ly/java_8-11
Intellij IDEA Shortcuts - http://bit.ly/i_idea

Popular Videos
----------------------------------
Executor Service -    • Java ExecutorService - Part 1 - Intro...  
Introduction to CompletableFuture -    • Introduction to CompletableFuture in ...  
Understand how ForkJoinPool works -    • Understanding how ForkJoinPool works  
Java Memory Model in 10 minutes -    • Java Memory Model in 10 minutes  
Volatile vs Atomic -    • Using volatile vs AtomicInteger in Ja...  
What is Spring Webflux -    • What is Spring Webflux and when to us...  


Watch video What are spinlocks? online without registration, duration hours minute second in high quality. This video was added by user Defog Tech 22 December 2018, don't forget to share it with your friends and acquaintances, it has been viewed on our site 39,560 once and liked it 749 people.