×

Specializing write-barriers for objects in a garbage collected heap

  • US 7,089,272 B1
  • Filed: 06/18/2003
  • Issued: 08/08/2006
  • Est. Priority Date: 06/18/2003
  • Status: Active Grant
First Claim
Patent Images

1. In a computer system, a method for controlling the execution of write-barrier program code when a mutator program calls a reference-modifying method of a receiver object via a class pointer field, the method comprising:

  • A) including in the receiver object, both a first method version with first write-barrier code and a second method version with second write-barrier code that differs from the first write-barrier code;

    B) before a predetermined condition is met, storing a first pointer in the class pointer field so that a subsequent call to the receiver object method follows the first pointer and executes the first method version; and

    C) after the predetermined condition is met, storing a second pointer in the class pointer field so that a subsequent call to the receiver object method follows the second pointer and executes the second method version.

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