Where does the recursive call take place in Stack Overflow?

The lock is owned by the current thread. The recursive call is made on the current thread too. If another thread tries to acquire the lock, it’ll block. If you’re asking about the stack overflow exception - it’s because there’s nothing in there to break from the recursion.
For More Information Please Refer:


You May Also Like to Read: