Bug 157764 - REGRESSION (200035): changes in "WebKit Malloc" VM regions are causing 'leaks' to spew "Failed to map remote region" messages
Summary: REGRESSION (200035): changes in "WebKit Malloc" VM regions are causing 'leaks...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: bmalloc (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Geoffrey Garen
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-05-16 15:53 PDT by Geoffrey Garen
Modified: 2016-05-22 11:33 PDT (History)
3 users (show)

See Also:


Attachments
Patch (4.97 KB, patch)
2016-05-16 15:57 PDT, Geoffrey Garen
barraclough: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Geoffrey Garen 2016-05-16 15:53:08 PDT
REGRESSION (200035): changes in "WebKit Malloc" VM regions are causing 'leaks' to spew "Failed to map remote region" messages
Comment 1 Geoffrey Garen 2016-05-16 15:57:35 PDT
Created attachment 279058 [details]
Patch
Comment 2 Geoffrey Garen 2016-05-16 15:58:51 PDT
<rdar://problem/26133021>
Comment 3 Geoffrey Garen 2016-05-16 17:14:34 PDT
Committed r200983: <http://trac.webkit.org/changeset/200983>
Comment 4 Darin Adler 2016-05-22 11:33:12 PDT
Comment on attachment 279058 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=279058&action=review

> Source/bmalloc/bmalloc/VMHeap.cpp:53
> +    m_zone.addRange(Range(chunk->bytes(), size));

Great style for this in new code:

    m_zone.addRange({ chunk->bytes(), size });

Nice to not state the class name again, and also does tighter type checking than the old style, which is sometimes better, sometimes worse.

> Source/bmalloc/bmalloc/VMHeap.cpp:88
> +    m_zone.addRange(Range(begin.address(), end.address() - begin.address()));

Ditto.