标记阶段最后也没有标记的对象是应用程序不可获得的对象(死对象),因为不存在从根集经过任何引用序列找到这些对象的路径。
Objects that are unmarked at the end of the mark phase are unreachable by the application (dead) because there's no path from the root set through any series of references to find them.
如果父进程先于子进程死亡,那么子进程就成了死进程(也称为僵尸进程),这常常会导致进程或应用程序挂起。
If a parent process should die before the child process, the child process can become a defunct process-also known as a zombie process which usually results in a hung process or hung application.
老程序员不会死,他们只是慢慢地消失!
老程序员不会死,他们只是慢慢地消失!
应用推荐