×

System and method for assisting exact Garbage collection by segregating the contents of a stack into sub stacks

  • US 5,903,899 A
  • Filed: 04/23/1997
  • Issued: 05/11/1999
  • Est. Priority Date: 04/23/1997
  • Status: Expired due to Term
First Claim
Patent Images

1. In a computer system having a processor and a memory, a method for discriminating whether a datum useful in execution of program instructions by the processor is one of a plurality of operand types, the method comprising the steps of:

  • A. defining a first area in the memory as a first program data stack capable of accommodating a datum of a first operand type, the first program data stack having a first stack base address and a first stack limit address which define the extent of the first program data stack;

    B. defining a second area in the memory as a second program data stack capable of accommodating datum of a second operand type, the second program data stack having a second stack base address and a second stack limit address which define the extent of the second program data stack;

    C. storing data of the first operand type within the first program data stack, and defining a first stack pointer which identifies the current top of the first data stack, the first data stack pointer having an address value equal to the second stack limit; and

    D. storing data of the second operand type within the second program data stack, and defining a second program stack pointer which identifies the current top of the second data stack, the second stack pointer having an address value equal to the first stack limit.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×