I was wondering what would happen if:
I have a thread that has a lock on a synchronized method. This thread never dies (is in a continual while loop)and is only put to sleep. So as i understand it this thread should never give up its lock. If this thread never gives up its lock on the synchronized method what will happen if i continue to create new threads. can there be too many threads in a ready state? how long will it take to crash???
if someone can help me out i would really appreciate it!!