Closed Bug 950722 Opened 7 years ago Closed 7 years ago

Add tests for interaction between WeakMap and moving GC

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: jonco, Assigned: jonco)

References

Details

Attachments

(1 file)

Attached patch add-weakmap-testSplinter Review
Because I worry about the interaction between hashtables and garbage collection, here's a test for WeakMaps which exercises rekeying in the post barrier.  It's lifted wholesale from the one for Map and Sets.
Attachment #8348113 - Flags: review?(terrence)
Comment on attachment 8348113 [details] [diff] [review]
add-weakmap-test

Review of attachment 8348113 [details] [diff] [review]:
-----------------------------------------------------------------

Excellent! r=me
Attachment #8348113 - Flags: review?(terrence) → review+
https://hg.mozilla.org/mozilla-central/rev/0850bf665bd2
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Blocks: 673454
You need to log in before you can comment on or make changes to this bug.