DEFERRING AND COMBINING WRITE BARRIERS FOR A GARBAGE-COLLECTED HEAP

Patent №

US 7,404,182

Granted

2008-07-22

Filed 2003

Owner

SUN MICROSYSTEMS, INC.

Lab

AI components

1

hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

10679183

The present invention provides a technique for reducing the number of write barriers without compromising garbage collector performance or correctness. To that end, a compiler defers emitting write barriers until it reaches a subsequent instruction in the mutator code. At this point, the compiler may elide repeated or unnecessary write-barrier code so as to emit only those write barriers that provide useful information to the garbage collector. By eliminating write-barrier code in this manner, the amount of write-barrier overhead in the mutator can be minimized, consequently enabling the mutator to execute faster and more efficiently. Further, collocating write barriers after the predetermined instruction also enables the compiler to generate object code having better cache performance and more efficient use of guard code than is possible using conventional write-barrier implementations.

AI hardwareG06F 12/0269Y10S 707/99953Y10S 707/99957

AI classification

AI hardware1.00
Vision0.00
Natural language0.00
Planning0.00
Knowledge representation0.00
Speech0.00
Machine learning0.00
Evolutionary computation0.00

Ownership

SUN MICROSYSTEMS, INC.

assignment · 145900742

Assignors

GARTHWAITE, ALEXANDER T., HELLER, STEVEN K.

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC