Write barrier system and method for trapping garbage collection page boundary crossing pointer stores
AssigneeSun Microsystems, Inc.
InventorsJames Michael O'Connor, Marc Tremblay, Sanjay Vishin
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorsJames Michael O'Connor, Marc Tremblay, Sanjay Vishin
Estimating the term…
Architectural support is provided for trapping of garbage collection page boundary crossing pointer stores. Identification of pointer stores as boundary crossing is performed by a store barrier responsive to a garbage collection page mask that is programmably encoded to define a garbage collection page size. The write barrier and garbage collection page mask provide a programmably-flexible definition of garbage collection page size and therefore of boundary crossing pointer stores to be trapped, affording a garbage collector implementer with support for a wide variety of generational garbage collection methods, including train algorithm type methods to managing mature portions of a generationally collected memory space. Pointer specific store instruction replacement allows implementations that provide an exact barrier not only to pointer stores, but more particularly to pointer stores crossing programmably defined garbage collection page boundaries.
An apparatus comprising:
A method for trapping garbage collection page boundary crossing pointer stores, said method comprising:
Architectural support for trapping garbage collection page boundary crossing pointer stores in a virtual machine instruction processor having mutator and garbage collector processes executable thereon, said architectural support comprising:
Dependencies are inferred from the claim text.