WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
189768
Add functions to measure memory footprint to JSC
https://bugs.webkit.org/show_bug.cgi?id=189768
Summary
Add functions to measure memory footprint to JSC
Michael Saboff
Reported
2018-09-19 16:24:02 PDT
This is to provide native JS access to JSC command memory usage data via system call. <
rdar://problem/44612188
>
Attachments
Patch
(5.27 KB, patch)
2018-09-19 16:47 PDT
,
Michael Saboff
saam
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Michael Saboff
Comment 1
2018-09-19 16:47:40 PDT
Created
attachment 350159
[details]
Patch
Saam Barati
Comment 2
2018-09-19 17:10:58 PDT
Comment on
attachment 350159
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=350159&action=review
r=me
> Source/JavaScriptCore/jsc.cpp:1204 > +class JSCMemoryFootprint : public JSDestructibleObject {
nit: I think this could inherit from JSNonFinalObject
Michael Saboff
Comment 3
2018-09-19 17:36:54 PDT
(In reply to Saam Barati from
comment #2
)
> Comment on
attachment 350159
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=350159&action=review
> > r=me > > > Source/JavaScriptCore/jsc.cpp:1204 > > +class JSCMemoryFootprint : public JSDestructibleObject { > > nit: I think this could inherit from JSNonFinalObject
Change this locally.
Michael Saboff
Comment 4
2018-09-19 17:42:31 PDT
Committed
r236235
: <
https://trac.webkit.org/changeset/236235
>
Ryan Haddad
Comment 5
2018-09-20 09:10:40 PDT
Reverted
r236235
for reason: Breaks internal builds. Committed
r236260
: <
https://trac.webkit.org/changeset/236260
>
Ryan Haddad
Comment 6
2018-09-20 09:11:27 PDT
(In reply to Ryan Haddad from
comment #5
)
> Reverted
r236235
for reason: > > Breaks internal builds.
Details are in radar.
Michael Saboff
Comment 7
2018-09-20 16:48:57 PDT
Relanded in
r236293
: <
https://trac.webkit.org/changeset/236293
>
Ryan Haddad
Comment 8
2018-09-20 21:37:09 PDT
Rolled out in
https://trac.webkit.org/r236305
Michael Saboff
Comment 9
2018-09-21 14:48:40 PDT
Relanded in
r2362362
: <
https://trac.webkit.org/changeset/236362
>
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