You can call run()
method of a thread many times. However, not a single new thread will be started. This way JVM will only execute the code from run()
method. And this will not probably be what you tried to achieve.
Remember: to start a new thread, you need to call start()
method, which among others, will execute run() method in a new concurrent context.