Closed Bug 1100168 Opened 10 years ago Closed 10 years ago

Allow pretenuring for all TypeObjects

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla36

People

(Reporter: bhackett1024, Assigned: bhackett1024)

References

Details

Attachments

(1 file)

Attached patch patch (deleted) — Splinter Review
When adding the pretenuring stuff we restricted the possible types we could apply this to, only allowing pretenuring for TypeObjects associated with an initialization site or 'new' script. This works fine for most scripts, but doesn't allow us to pretenure typed objects, which would be nice to do. (I've been testing perf with a copy of octane-splay rewritten to use typed objects.) We could carve out another exception for typed objects, but it seems better to just remove this unnecessary complexity as I don't think it was ever really warranted (we already try really hard to give types to objects which distinguish them based on how they are used, for TI to be effective.)
Attachment #8523574 - Flags: review?(terrence)
Comment on attachment 8523574 [details] [diff] [review] patch Review of attachment 8523574 [details] [diff] [review]: ----------------------------------------------------------------- Makes sense.
Attachment #8523574 - Flags: review?(terrence) → review+
Assignee: nobody → bhackett1024
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: