[Webkit-unassigned] [Bug 197092] New: [bmalloc] Register PerProcess's memory as root for Darwin Leaks tool

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 18 22:28:47 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=197092

            Bug ID: 197092
           Summary: [bmalloc] Register PerProcess's memory as root for
                    Darwin Leaks tool
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: bmalloc
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ysuzuki at apple.com
                CC: ggaren at apple.com

Recently, we see some false-positive memory leaks related to bmalloc::PerProcess. Currently I'm ensuring my thought but it seems that this is because PerProcess's data is allocated with vmAllocate with tag. This means that this memory is not scanned by Leak tool.
And maybe, bmalloc::Zone is also accidentally broken since bmalloc::PerProcess now allocates memory from vmAllocate. bmalloc::Zone resides in vmAllocate-ed memory, so FixedVector in bmalloc::Zone is not considered as root.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190419/0041e8f6/attachment-0001.html>


More information about the webkit-unassigned mailing list