Bug 184019 - memoryStatus() is wrong in certain testing scenarios on iOS
Summary: memoryStatus() is wrong in certain testing scenarios on iOS
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Saam Barati
URL:
Keywords: InRadar
Depends on:
Blocks: 184050
  Show dependency treegraph
 
Reported: 2018-03-26 11:51 PDT by Saam Barati
Modified: 2018-03-27 13:52 PDT (History)
16 users (show)

See Also:


Attachments
patch (2.41 KB, patch)
2018-03-27 11:51 PDT, Saam Barati
mark.lam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Saam Barati 2018-03-26 11:51:59 PDT
phys_footprint is a number that in my experiments remains constant at around ~9MB. I think what we want is "internal + compressed".
Comment 1 Saam Barati 2018-03-26 16:20:33 PDT
(In reply to Saam Barati from comment #0)
> phys_footprint is a number that in my experiments remains constant at around
> ~9MB. I think what we want is "internal + compressed".

I'm actually not 100% sure of this. Doing some more investigation now.
Comment 2 Saam Barati 2018-03-27 11:48:56 PDT
<rdar://problem/37959258>
Comment 3 Saam Barati 2018-03-27 11:51:27 PDT
Created attachment 336602 [details]
patch
Comment 4 Saam Barati 2018-03-27 11:52:26 PDT
Comment on attachment 336602 [details]
patch

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

> Source/bmalloc/ChangeLog:3
> +        Move back to phys_footprint when it works for our testing scenarios on iOS

Will change bug title to match before landing.
Comment 5 Mark Lam 2018-03-27 11:53:40 PDT
Comment on attachment 336602 [details]
patch

rs=me
Comment 6 Saam Barati 2018-03-27 13:52:53 PDT
landed in:
https://trac.webkit.org/changeset/230005/webkit