ObjectWeakMap::add fails to record the new JSObject key in the store buffer, so that a moving collection can rehash the entry when the JSObject is tenured.
Created attachment 8627898 [details] [diff] [review] Add a post-write barrier to ObjectWeakMap::add.
Assignee: nobody → jimb
Status: NEW → ASSIGNED
Attachment #8627898 - Flags: review?(terrence)
Attachment #8627898 - Flags: review?(terrence) → review+
You might want to recheck the weird weakmap bug you were seeing after applying this, given that it included weakmap entries going missing.
Target Milestone: --- → mozilla42
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
status-firefox42: --- → fixed
Resolution: --- → FIXED
Clearning ni. Seems the issue was on an OHM.
You need to log in before you can comment on or make changes to this bug.