What will happen when a Java thread is set to null?

Viewed 6602

After a thread started, if the reference of the thread is set to null, what will happen to the thread? Does it stop? Is it eligible for GC?

Like this:

t.start();
t = null;
4 Answers
Related