Closed Bug 1156317 Opened 10 years ago Closed 10 years ago

Change onOutOfMemory() interface to make it harder to misuse

Categories

(Core :: JavaScript: GC, defect)

defect
Not set
normal

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+
Blocks: 1081260
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: