×

Dynamic adjustment of garbage collection

  • US 6,065,020 A
  • Filed: 05/27/1998
  • Issued: 05/16/2000
  • Est. Priority Date: 05/27/1998
  • Status: Expired due to Term
First Claim
Patent Images

1. A method in a computer system for collecting garbage, the method comprising:

  • determining an amount of memory that has been allocated since garbage was last collected;

    when the determined amount exceeds a trigger point,determining whether a mark-and-sweep garbage collection technique or a copying garbage collection technique is currently selected;

    when it is determined that the mark-and-sweep garbage collection technique is currently selected, performing mark-and-sweep garbage collection;

    when it is determined that the copying garbage collection technique is currently selected, performing copying garbage collection;

    calculating characteristics of the performed garbage collection;

    adjusting the trigger point based on the calculated characteristics; and

    selecting either the mark-and-sweep garbage collection technique or the copying garbage collection technique based on the calculated characteristics.

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