Closed Bug 956281 Opened 9 years ago Closed 8 years ago
PJS: Optimize parallel write barriers based on TI feedback
Bug 933317 introduces improved write barriers that consider out pointers, but the patch does not attempt to optimize the write barrier logic at all. Based on TI feedback we can often specialize the write barrier logic to avoid some of the checks that are needed in the fully general case.
To start with, we can simply check whether we KNOW that the object being written is a typed object / typed array vs some other kind of object. If the object is known to be a typed object, we can skip directly to that case. If the object is known NOT to be, we can skip the typed object logic. It's only in the ambiguous case that we must check the class dynamically.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.