Patent ID: 6795910
Filing Date: 2004-09-21
Classification: G06F

Abstract:
A system for managing stack utilization in a two-stack arrangement, comprising:means to initialize a first stack and a second stack in a computing environment, each of said first and second stacks having a stack base, a stack pointer and a direction indicator, wherein said first and second stacks are operable to grow towards each other; means for tracking said stack pointers' location during execution of a program in said computing environment, said means operating to identify said stack pointers' high water marks with reference to said respective stack bases, wherein said high water marks are indicative of a farthest location which each of said first and second stacks has respectively grown at any time during said program's execution; means for determining if a program instruction is operable to modify either of said stack pointers' current location to a new location; and means for providing a warning upon determining that either of said new locations violates a predetermined condition with respect to said two-stack arrangement.