检查终结器队列(finalizer queue)和终结线程(finalizer thread) 1)查看终结器队列
基于16个网页-相关网页
另外在每一个进程里我们还有 终结器线程 ( Finalizer Thread ),这个线程运行所有的Finalize函数。在调试进程无响应(hang)和高内存使用率的情形时,要特别注意这个线程。
基于1个网页-相关网页
finalizer thread
终结器线程
以上为机器翻译结果,长、整句建议使用 人工翻译 。
When a finalizer throws an exception that it does not handle, the runtime prints the exception stack trace to the console and then allows the finalizer thread to resume running finalizers.
当终结器引发它无法处理的异常时,运行时将把异常堆栈跟踪打印至控制台,然后允许终结器线程继续运行终结器。
youdao
应用推荐
模块上移
模块下移
不移动