Patent ID: 7363626

Claim:
A system, comprising: one or more processors; and memory coupled to the one or more processors and configured to store program instructions executable by the processor to implement: an application server configured to: receive a request from an application for a thread for use by the application; in response to the request, check a main thread pool for a free thread; and assign, as part of a thread partitioning protocol, the free thread from the main thread pool to the request from an application if a number of threads in an application thread array is less than an application thread partition value for the application; wherein the application server is operable to disable the thread partitioning protocol, wherein if the thread partitioning protocol is disabled, the threads in the main thread pool are used on a first-come, first served basis, wherein if the thread partitioning protocol is enabled, the thread is assigned according to the thread partitioning protocol.