Patent ID: 7698525
Filing Date: 2010-04-13
Classification: G06F

Abstract:
1. A method for managing storage used by a processor when processing instructions, the method comprising the steps of: receiving a set of instructions for processing, wherein said set of instructions are assembly code instructions representing a procedure or function call; receiving a storage estimate indicating required storage for processing said set of instructions, wherein said storage estimate is provided by one of said set of instructions, and wherein said storage estimate is generated during compilation of said set of instructions from source code and said storage estimate is generated from a call graph for said source code, and wherein said storage estimate is a number of registers required for processing said set of instructions; comparing said storage estimate with free storage in a primary storage facility, wherein said primary storage facility is a register stack frame; if said free storage is less than said storage estimate then transferring data from said primary storage to a secondary storage facility; if said free storage is greater than or equal to said storage estimate then only transferring data from said primary storage facility to said secondary storage facility when said primary storage facility reaches a predetermined limit; and processing said set of instructions and storing data relating to said processing in said primary storage facility.