Closed Bug 1156317 Opened 5 years ago Closed 5 years ago

Change onOutOfMemory() interface to make it harder to misuse

Categories

(Core :: JavaScript: GC, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: jonco, Assigned: jonco)

References

Details

Attachments

(1 file)

Following on from bug 1155258, let's rewrite this to get rid of the convention of passing reinterpret_cast<void*>(1) to indicate a call from a realloc allocator.
Attachment #8594808 - Flags: review?(terrence)
Comment on attachment 8594808 [details] [diff] [review]
rewrite-onOutOfMemory

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

\o/
Attachment #8594808 - Flags: review?(terrence) → review+
https://hg.mozilla.org/mozilla-central/rev/295890a566bd
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.