Closed Bug 956281 Opened 11 years ago Closed 9 years ago

PJS: Optimize parallel write barriers based on TI feedback

Categories

(Core :: JavaScript Engine: JIT, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: nmatsakis, Unassigned)

References

Details

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.
Blocks: PJS
Depends on: 933317
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.