×

System and method for memory leak detection in a virtual machine environment

  • US 7,757,202 B2
  • Filed: 11/05/2007
  • Issued: 07/13/2010
  • Est. Priority Date: 12/20/2002
  • Status: Active Grant
First Claim
Patent Images

1. A method for detecting potential memory leaks in a run-time environment, the run-time environment including a virtual machine and a memory for storing objects, the method comprising the steps of:

  • accepting as input from a system developer a value for a limiting time;

    determining, for each of a plurality of objects in memory, a length of time since that object has persisted in memory without being accessed or referenced, andif the object has persisted in memory without being accessed or referenced in memory greater than the limiting time, then identifying the object as one of a first object type,if the object has persisted in memory without being accessed or referenced in memory for less than the limiting time, then identifying the object as one of a second object type; and

    determining links from any object of the first object type to any object of the second object type, and displaying the links for use by the system developer in detecting potential memory leaks.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×