I am instrumenting a Restful Java microservice with JProfiler while I send multiple requests with JMeter. I see that there are a lot of blocked threads. The microservice use Spring, SpringBoot. When multiple requests are sent, somehow the problems appears.
In JProfiler tool, I can see:
- After I read: Circular Deadlock, Dining philosophers, I think there is a Circular Deadlock. Is this right?
- What is the difference between Deadlock and Circular Deadlock? After I navigated a bit on internet, I see another concept, Circular Wait. What about Circular Wait?
- If you look on Monitor History and Overview sections, you see a lot of blocked threads, also a thread waits for other thread to finish. The problem is with ReentrantLock.NonfairSync class. But if you look on Thread Dump, you see the threads are in the Waiting state and on the top of stacktrace you see sun.misc.Unsafe.park. With methods park and unpark it is realized the Thread Locks. Do you know what it can be?
- Could be a problem with com.fasterxml library again? jackson project
Thank you