This function is invoked from the I/O processor thread context, hence should be implemented in a way that it consumes minimal amount of time, as the same thread handles multiple sessions.
调用此函数从I / O处理器线程上下文,因此应该采取一种方式,它消耗最少量的时间,相同的线程处理多个会话执行。
Processor utilization is not the only consideration in tuning the thread pool size.
处理器利用率不是调整线程池大小过程中的唯一考虑事项。
Even when a program contains only a single thread running on a single processor, a synchronized method call is still slower than an unsynchronized method call.
即使一个程序只包括一个在单一处理器上运行的单线程,一个同步的方法调用仍要比非同步的方法调用慢。
应用推荐