Moh*_*lha 4 java performance multithreading
有没有办法提高Thread.start方法的性能.因为我知道Thread.start将在一个单独的线程中调用胎面的run方法,但我发现它比调用上下文中的简单方法调用需要更多的时间.
pam*_*let 7
启动线程肯定涉及开销.您可能需要考虑线程池.
http://docs.oracle.com/javase/tutorial/essential/concurrency/pools.html
归档时间:
12 年,5 月 前
查看次数:
2580 次
最近记录: