Home > Back-end >  Thread instance, run method, and memory
Thread instance, run method, and memory

Time:01-28

Thread Thread instance thread1, when its run method after an infinite loop, and then set it to null, thread1=null; , may be recycled thread1 instance in memory?

If be recycled, its run method will continue to run?
  • Related