Invocation map based architecture for program execution
AssigneeInternational Business Machines Corporation
InventorShreekanth Prabhu
Life of this patent
Estimating the term…
Abstract
The present invention provides a method and system for passing parameters to a procedure characterized in that it uses an invocation map data structure to pass parameters to the procedure without using the stack, for more efficient operation. The instant invention also provides a computer program product for carrying out the instant invention.
Claims51
In a computing system containing at least one processor, memory and storage devices and input and output devices, said computing system executing software programs in which parameters are passed to procedures characterized in that the system includes an invocation map data structure means for passing parameters to a procedure without using a stack for more efficient operation wherein said invocation map data structure means is created with a unique map identification and is structured as follows:
- Invocation Map {Procedure Name Instance ID Invocation Map Identifier Use-flag Save-flag Saved_program_counter Pointer to Parametric data Pointer to Private Data Pointer to sibling invocation map Pointer to child invocation map Pointer to next invocation map for same procedure Pointer to Parent invocation Map }.
A method for passing parameters to a procedure characterized in that the method uses an invocation map data structure to pass parameters to the procedure without using a stack, for more efficient operation, wherein the method includes creating said invocation map data structure with a unique map identification and structuring the invocation map data structure follows:
- Invocation Map {Procedure Name Instance ID Invocation Map Identifier Use-flag Save-flag Saved_program_counter Pointer to Parametric data Pointer to Private Data Pointer to sibling invocation map Pointer to child invocation map Pointer to next invocation map for same procedure Pointer to Parent invocation Map }.
A computer program product comprising a computer readable storage medium having computer readable code embodied therein for causing a computing system to implement parameters passing to a procedure characterized in that the computer program product includes computer readable code means configured to cause said computer to pass parameters using an invocation map data structure without using a stack for efficient operation, wherein the computer program product includes computer readable code means configured to create said invocation map data structure with a unique map identification and structure the invocation map data structure as follows:
- Invocation Map {Procedure Name
- Instance ID
- Invocation Map Identifier
- Use-flag
- Save-flag
- Saved_program_counter
- Pointer to Parametric data
- Pointer to Private Data
- Pointer to sibling invocation map
- Pointer to child invocation map
- Pointer to next invocation map for same procedure
- Pointer to Parent invocation Map
- }.
Dependencies are inferred from the claim text.