WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
138495
bmalloc uses 8X more virtual memory than necessary
https://bugs.webkit.org/show_bug.cgi?id=138495
Summary
bmalloc uses 8X more virtual memory than necessary
Geoffrey Garen
Reported
2014-11-06 22:15:32 PST
bmalloc uses 8X more virtual memory than necessary
Attachments
Patch
(11.68 KB, patch)
2014-11-06 22:26 PST
,
Geoffrey Garen
no flags
Details
Formatted Diff
Diff
Patch
(11.63 KB, patch)
2014-11-07 09:59 PST
,
Geoffrey Garen
mark.lam
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Geoffrey Garen
Comment 1
2014-11-06 22:26:19 PST
Created
attachment 241163
[details]
Patch
Mark Lam
Comment 2
2014-11-07 01:23:34 PST
Comment on
attachment 241163
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=241163&action=review
> Source/bmalloc/bmalloc/VMAllocate.h:96 > + char* aligned = mask(mapped, ~vmAlignmentMask) + vmAlignment;
I think this should be: char* aligned = mask(mapped + vmAlignment, ~vmAlignmentMask); i.e. the same algorithm as roundUpToMultipleOf().
Geoffrey Garen
Comment 3
2014-11-07 09:59:21 PST
> i.e. the same algorithm as roundUpToMultipleOf().
Good idea. I'll just use roundUpToMultipleOf directly.
Geoffrey Garen
Comment 4
2014-11-07 09:59:49 PST
Created
attachment 241189
[details]
Patch
Mark Lam
Comment 5
2014-11-07 10:01:14 PST
Comment on
attachment 241189
[details]
Patch r=me
Geoffrey Garen
Comment 6
2014-11-07 10:12:31 PST
Committed
r175751
: <
http://trac.webkit.org/changeset/175751
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug