Closed Bug 566076 Opened 15 years ago Closed 13 years ago

Don't initialize fslots on allocation.

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: gal, Unassigned)

References

Details

Attachments

(1 file)

This saves a bunch of branching and initializing effort during allocation. It will be even more critical if objects grow to 16 words.
Blocks: 558451
Attached patch patchSplinter Review
Also, slots are now initialized to NULL, not VOID. Faster to memset.
Assignee: general → gal
Blocks: 571726
Assignee: gal → paul.biggar
No longer blocks: 571726
This patch is too broadly scoped and should be split up. Will discuss with paul.
Summary: Clear objects during GC, don't initialize fslots on allocation. → Don't initialize fslots on allocation.
Blocks: 571726
No longer blocks: 558451
Depends on: 558451
Assignee: paul.biggar → general
At this point, is this a WONTFIX?
Yeah. The slots code has been overhauled massively. Wouldn't surprise me if this was already done.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: