摘要 |
According to an embodiment of the present invention, a method for dynamically managing the size of a thread pool includes: a step of a processor for increasing the maximum thread value, set at present, if the number of threads included in the thread pool has come to a predetermined range of the maximum thread value, set at present; and a step of the processor for comparing the size of a task queue before the maximum thread value is increased and the size of a task queue after the maximum tread value is increased by referring to information about the size of the task queue and then, if the size of the task queue after the thread value is increased is the same as the size of the task queue before the maximum thread value is increased, increasing the maximum thread value again. |