RESOLVED FIXED 212793
[JSC] Report extra memory allocation from PropertyTable
https://bugs.webkit.org/show_bug.cgi?id=212793
Summary [JSC] Report extra memory allocation from PropertyTable
Yusuke Suzuki
Reported 2020-06-04 17:21:21 PDT
[JSC] Report extra memory allocation from PropertyTable
Attachments
Patch (9.10 KB, patch)
2020-06-04 17:22 PDT, Yusuke Suzuki
saam: review+
Yusuke Suzuki
Comment 1 2020-06-04 17:22:20 PDT
Yusuke Suzuki
Comment 2 2020-06-04 18:22:50 PDT
Comment on attachment 401100 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=401100&action=review > Source/JavaScriptCore/runtime/PropertyMapHashTable.h:531 > + vm.heap.reportExtraMemoryAllocated(dataSize()); Maybe, we should report if (oldDataSize < dataSize()) vm.heap.reportExtraMemoryAllocated(dataSize() - oldDataSize); changed.
Yusuke Suzuki
Comment 3 2020-06-04 22:55:27 PDT
Ran jsc tests locally.
Yusuke Suzuki
Comment 4 2020-06-04 22:59:02 PDT
Radar WebKit Bug Importer
Comment 5 2020-06-05 09:58:15 PDT
Note You need to log in before you can comment on or make changes to this bug.