What is thread deadlock? How to resolve thread deadlock?
Answer Posted / 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 |
Post New Answer View All Answers
What is ioc concept & explain it?
Can you control when passivation occurs?
What is re-entrant. Is session beans reentrant. Is entity beans reentrant?
Is a class a subclass of itself?
What is a sessionfactory? Is it a thread-safe object?
What restrictions are placed on the location of a package statement within a source code file?
What is the difference between the font and fontmetrics classes?
Which class is the immediate superclass of the menucomponent class?
How to deploy Jar, War files in J2EE?
What is the difference between the session.update() method and the session.lock() method?
How substring() method of string class create memory leaks?
In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?
What is clustering? What are the different algorithms used for clustering?
What is synchronization and why is it important?
In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?