Simulating & troubleshooting BLOCKED threads in Scala

Опубликовано: 27 Октябрь 2024
на канале: yCrash
131
4

In this series of simulating and troubleshooting performance problems in Scala, let’s discuss how to make threads go into BLOCKED state. A thread will enter into a BLOCKED state when it couldn’t acquire a lock on an object because another thread already holds the lock on the same object and doesn’t release it.

If you liked this video, you'll love our Java Performance Masterclass. Learn more:
https://ycrash.io/java-performance-tr...

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

Topics covered:

00:26 - Sample Scala BLOCKED threads Program
03:40 - How to diagnose BLOCKED threads?
04:56 - yCrash root cause analysis report

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

Links shared in the video:

Capture thread dump using one of the 8 options mentioned here:
https://blog.fastthread.io/2016/06/06...

Samurai:
https://github.com/yusuke/samurai

yCrash open source script:
https://github.com/ycrash/ycrash-agent

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

Read more in this blog:

https://blog.ycrash.io/2022/10/18/sim...

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

Our Tools:

yCrash: https://yCrash.io/
GCeasy: https://gceasy.io/
HeapHero: https://heaphero.io/
fastThread Tool: https://fastthread.io/

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

SRE Community:

Need help in troubleshooting your performance problems?
Post here: https://answers.ycrash.io/

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

Follow us on:

LinkedIn:   / ycrash  
Instagram:   / ycrash_rca  
Facebook:   / tier1app  
Twitter:   / tier1app  

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

Related videos:

BuggyApp Demo:
   • BuggyApp Demo  

Simulating & troubleshooting StackOverflowError in Scala:
   • Simulating & troubleshooting StackOve...  

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

#scala | #interthreadcommunicationinjavaexampleprogram | #interthreadcommunicationinjavaexamples | #scalaprogramminglanguage | #interthreadcommunicationinjavasimpleexample | #interthreadcommunicationinjava | #scalaprogramminglanguage | #multithreadinginpython | #multithreadinginchash | #multithreadinginjava | #multithreadinginc++tutorial | #threadsafe | #producerconsumer problem in java using multithreading example | #thread