Patent ID: 8516462
Filing Date: 2013-08-20
Classification: G06F,Y02D

Abstract:
1. A computer implemented method for managing stack space, the computer implemented method comprising: responsive to detecting an event, monitoring usage of stack space for a plurality of threads, the stack space being dedicated to a particular process that includes the plurality of threads; comparing the usage of stack space for the plurality of threads to a policy to form a comparison, wherein the policy comprises a set of rules that specify what actions to take depending upon the usage of the stack space; and selectively initiating an action based on the comparison prior to all of the stack space being used to prevent usage of all of the stack space; wherein the stack space includes a particular stack space for a thread of the plurality of threads, and wherein a rule of the set of rules states that the particular stack space should be increased in size if particular usage of the particular stack space for the thread exceeds a certain percentage of the stack space; and wherein the initiating step comprises determining whether the action is required to prevent complete usage of the stack space based on the comparison and, responsive to a determination that the action is required, commencing the action by a device driver that initiates a collection of data regarding the usage of the stack space for the plurality of threads, wherein the commencing step comprises increasing a size of the particular stack space for the thread by a given amount based on a current time of day.