Results 1 to 5 of 5
Thread: Problem in Thread execution.
- 07-20-2011, 07:03 AM #1
Problem in Thread execution.
Hi,
I have one thread program that has infinite loop. It does mean that It will never be finished, unless and until JVM shuts down. Some times it works pretty well. But most of times it stopped automatically. What might be the problem for this issue? Is there JVM configuration I might have missed?Mak
(Living @ Virtual World)
- 07-20-2011, 03:28 PM #2
A thread in an infinite loop will not end unless an exception propagates out of its run() method, or it's a daemon thread and no more non-daemon threads are running, or something else kills the JVM.
Get in the habit of using standard Java naming conventions!
- 07-21-2011, 08:26 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Automatically stopped sense, your JVM is not running at all, or the application not responding.
- 07-21-2011, 10:13 AM #4
Member
- Join Date
- Jul 2011
- Posts
- 12
- Rep Power
- 0
post your code, we'll see
- 07-21-2011, 10:48 AM #5
Similar Threads
-
thread execution one after another
By turanan in forum New To JavaReplies: 16Last Post: 05-08-2012, 12:11 PM -
Concurrency in thread creation and execution
By krishanu in forum New To JavaReplies: 6Last Post: 06-11-2011, 07:04 AM -
make thread to pause execution
By Saran185 in forum Threads and SynchronizationReplies: 1Last Post: 03-16-2011, 05:01 AM -
Thread Execution
By sunilragidi in forum Threads and SynchronizationReplies: 2Last Post: 12-07-2010, 03:38 PM -
Re-iterate Thread execution after its execution finishes.
By TurtleRock in forum New To JavaReplies: 10Last Post: 11-29-2010, 02:02 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks