×

Apparatus and methods for managing resource usage

  • US 7,028,298 B1
  • Filed: 09/10/1999
  • Issued: 04/11/2006
  • Est. Priority Date: 09/10/1999
  • Status: Expired due to Term
First Claim
Patent Images

1. A computer-implemented method for managing resource usage of code downloaded to a computer system, the method comprising:

  • for each code downloaded to the computer system, associating a resource indicator with all threads that are executed directly by the downloaded code and all threads that are initiated by the downloaded code, wherein all of the threads that are executed directly by the downloaded code and all threads that are initiated by the downloaded code are defined as a set of related code;

    associating the set of related code with each resource portion of a particular resource that is allocated for the set of related code;

    disassociating, through a garbage collection procedure, the set of related code with each resource portion of the particular resource that is deallocated for the set of related code; and

    updating the resource indicator every time that the set of related code changes its actual collective resource usage of a particular resource so that the resource indicator only tracks actual resource usage of the set of related code, wherein the updating includes increasing the resource indicator every time the resource portion is allocated for the set of related code and decreasing the resource indicator every time the resource portion is deallocated for the set of related code.

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