What is thread deadlock? How to resolve thread deadlock?
Answers were Sorted based on User's Feedback
Answer / mayur laniya
Deadlock is describe a situation , where more than one
threads are blocked, forever (Continue) in a waiting for
each other to released the resources.
- I think deadlock can't be resolved by writtong such kind
of programming statements.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / s.ramesh
Deadlock describes a situation where two or more threads are
blocked forever, waiting for each other.
Deadlock cann't be resolved.....
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / divya
Deadlock can be resolved at design level.
* Instance referring to an object of Shared Resources.
* Infinite waiting for an event to happen in run method.
In the above mentioned case make sure that synchronization
is not been done.
| Is This Answer Correct ? | 0 Yes | 1 No |
Explain RMI Architecture?
What is a class loader? What are the different class loaders used by jvm?
What is a clone?
the use of try and ffinally keyword
How to send a request to garbage collector?
What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?
Why doesn’t the focus feature on the tag work in every circumstance?
what is handle?
What are various types of class loaders used by jvm?
what we can't do in jdbc but can do hibernate?
How do you maintain a stateful session object across the session
1) Scenario: I developed my application on local system and everything is perfect and tested. Now on UAT this application is deployed on clustered server environment. They are logical or physically clustered. But application is not working over there.  What is the issue with application?  What are the first things which come in your mind?