RESOLVED FIXED Bug 96791
Web Inspector: OwnPtr and RefPtr reported by pointer can be double counted by the memory instrumentation
https://bugs.webkit.org/show_bug.cgi?id=96791
Summary Web Inspector: OwnPtr and RefPtr reported by pointer can be double counted by...
Yury Semikhatsky
Reported 2012-09-14 08:26:37 PDT
MemoryInstrumentation::addObjectImpl(const OwnPtr<T>* const... MemoryInstrumentation::addObjectImpl(const RefPtr<T>* const.. Should check if the smart pointer has already been visited before counting its size.
Attachments
Patch (5.80 KB, patch)
2012-09-14 08:29 PDT, Yury Semikhatsky
apavlov: review+
apavlov: commit-queue+
Yury Semikhatsky
Comment 1 2012-09-14 08:29:31 PDT
Ilya Tikhonovsky
Comment 2 2012-09-14 08:32:37 PDT
Comment on attachment 164160 [details] Patch lgtm
Alexander Pavlov (apavlov)
Comment 3 2012-09-17 00:40:06 PDT
Comment on attachment 164160 [details] Patch rs=me
Yury Semikhatsky
Comment 4 2012-09-17 00:43:13 PDT
Note You need to log in before you can comment on or make changes to this bug.