Upon Running strace on a Java Application I notice some long time the syscall(mostly futex).
futex(0x7f8578001fd4, FUTEX_WAIT_PRIVATE, 1311, NULL) = 0 <15.082094>
I really want to understand the wait on futex is for which shared resources over here.
But, I'm not sure how?
I did some googling and found GDB can be helpful for finding the above cause. But unfortunately, I'm not much aware of GDB as I had barely used it before.
Can some help me understand how to find the answer that I'm looking at.