Closed Bug 1223490 Opened 10 years ago Closed 10 years ago

Use stable hashing for InnerViewsTable

Categories

(Core :: JavaScript: GC, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: terrence, Assigned: terrence)

References

Details

Attachments

(1 file, 1 obsolete file)

This is the table that allows keys to be in the nursery. IIRC, the trivial fix I tried a few weeks ago fell over because of a disagreement about when pointers are supposed to get updated. Am taking another look now.
Attached patch stable_InnerViewTable-v0.diff (obsolete) — Splinter Review
Yeah, we just needed to be a bit careful about how we check for and relocate the pointer when sweeping after a moving GC. Will be interesting to see the results for the cgc run. We should be able to generalize this and have all of our weak caches allow nursery pointers without automatically tenuring. That can happen later though.
Attachment #8685571 - Flags: review?(sphink)
I missed one subtlety about how nurseryKeys interacts with the map.
Attachment #8685571 - Attachment is obsolete: true
Attachment #8685571 - Flags: review?(sphink)
Attachment #8686115 - Flags: review?(sphink)
Attachment #8686115 - Flags: review?(sphink) → review?(jcoppeard)
Comment on attachment 8686115 [details] [diff] [review] stable_InnerViewTable-v1.diff Review of attachment 8686115 [details] [diff] [review]: ----------------------------------------------------------------- Great, this this nice.
Attachment #8686115 - Flags: review?(jcoppeard) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: