Thread Garbage Collection

deriggi
deriggi used Ask the Experts™
on
Are there any circumstances under which a running thread will be Garbage Collected?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016
Commented:
Not without some spectacular VM error ;-)
Mick BarryJava Developer
Top Expert 2010

Commented:
No. Any object will not be available to be collected until there are no remaining references to it.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial