Full-Stack Developer Question:

Download Job Interview Questions and Answers PDF

Tell us what is thread contention?

Full-Stack Developer Interview Question
Full-Stack Developer Interview Question

Answer:

Contention is simply when two threads try to access either the same resource or related resources in such a way that at least one of the contending threads runs more slowly than it would if the other thread(s) were not running. Contention occurs when multiple threads try to acquire a lock at the same time

Download Full-Stack Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Do you know java memory model?Explain what is deadlock, livelock?