Closed Bug 522856 Opened 17 years ago Closed 5 years ago

updating memory pressure counters on each realloc

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: igor, Unassigned)

References

Details

+++ This bug was initially created as a clone of Bug #521390 comment #3+++ Currently the gcMallocBytes memory pressure counter is not updated when calling realloc to increase already allocated memory. It implies that a code like var str += string_with_1MB_of_chars; would not update the counter. We should reconsider this if the generic solution proposed in the bug 506125 would be insufficient.
Assignee: general → nobody

MallocProvider calls updateMallocCounter() when allocating additional memory, therefore closing as WFM.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.