Patent ID: 6968557
Filing Date: 2005-11-22
Classification: G06F

Abstract:
1. A computer implemented method of allocating stack memory for a process for executing a computer program code, the method comprising: mapping an active session of the code to a thread of concurrent threads executing requests of user sessions, the thread having a fast stack memory selected to execute a first class of code having a first pre-determined stack memory size requirement, the first stack memory corresponding to the pre-determined stack memory size requirement; responsive to a function call of a code segment of the code being of the first class, executing the code segment with the first stack memory; and responsive to the function call of the code segment being of a second class of code having a second pre-determined stack memory requirement that is greater then the first stack memory size requirement, executing the function call of the code segment in a pre-determined auxiliary stack memory corresponding to the second stack memory size requirement to execute the code segment, and reclaiming the auxiliary stack memory subsequent to executing the function call of the code segment.