Closed Bug 1505666 Opened 10 months ago Closed 9 months ago
GCUnique Id tests GC moving in the wrong order
https://searchfox.org/mozilla-central/source/js/src/jsapi-tests/testGCUniqueId.cpp#97-118 This code: 1. Allocates an array of things. 2. Punches holes in the array making some things unreachable. 3. Does a GC that might compact 4. Chooses and object and takes its address 5. Does a compacting GC 6. Compares the objects's old and new pointers expecting it to move. However if the first GC was a compacting GC then the object will have moved then and won't move in the 2nd compacting GC.
Assignee: nobody → pbone
Status: NEW → ASSIGNED
Attachment #9023515 - Flags: review?(jcoppeard)
Attachment #9023515 - Flags: review?(jcoppeard) → review-
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/c7705516c1e3 Fix order of operations in the testGCUniqueId test r=jonco
You need to log in before you can comment on or make changes to this bug.