Patents Represented by Attorney Steven F. Flehr Hobach Test Albritton Herbert LLP Caserza
  • Patent number: 5930807
    Abstract: In a computer system that utilizes write or read barriers to perform a garbage collection function, instruction execution logic avoids unnecessary calls to the write or read barrier procedure. Each object's header includes a State flag. Each object reference also includes a State flag. Each time an instruction that is the subject of a write or read barrier (e.g., a object reference write instruction) is executed, the State flag of the object reference being processed is inspected by the instruction execution logic. If the State flag in the object reference is set, the write or read barrier procedure is not invoked, because the target object has already been processed by a previous call to the write or read barrier procedure. Otherwise the write or read barrier procedure is invoked. The write or read barrier procedure first checks the State flag in the target object's header. If it is set, the State flag in the target object reference is set and then the procedure exits.
    Type: Grant
    Filed: April 23, 1997
    Date of Patent: July 27, 1999
    Assignee: Sun Microsystems
    Inventors: Zahir Ebrahim, Sanjay Vishin