Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在一个大项目中,我在日志中发现在较长的运行时间后使用了多个事件调度程序线程:
multiple Threads : 3x java.awt.EventDispatchThread "AWT-EventQueue-{0,1,2}"
日志输出来自一个检测具有相似名称的多个线程的函数。该应用程序是通过 webstart 启动的,所以一个 edt 可能在启动时用于 JavaConsole,但为什么要离开?多个 edt 是否同时处于活动状态?