运行这个堆栈时,它就会包含一个模拟TV屏幕、一个字体面板显示、一个遥控器和控制台输出。
When the stack runs, it includes a simulated TV screen, a front-panel display, a remote control, and console output.
当某个任务引发了它无法处理的异常时,运行时将把异常堆栈跟踪打印至控制台,然后将线程返回至线程池。
When a task throws an exception that it does not handle, the runtime prints the exception stack trace to the console and then returns the thread to the thread pool.
当终结器引发它无法处理的异常时,运行时将把异常堆栈跟踪打印至控制台,然后允许终结器线程继续运行终结器。
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.
应用推荐