WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
188157
Add a debugging utility to dump the memory layout of a JSCell.
https://bugs.webkit.org/show_bug.cgi?id=188157
Summary
Add a debugging utility to dump the memory layout of a JSCell.
Mark Lam
Reported
2018-07-30 00:15:48 PDT
This is useful for some types of debugging work.
Attachments
proposed patch.
(12.77 KB, patch)
2018-07-30 00:34 PDT
,
Mark Lam
ysuzuki
: review+
ews-watchlist
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Mark Lam
Comment 1
2018-07-30 00:34:33 PDT
Created
attachment 346053
[details]
proposed patch.
EWS Watchlist
Comment 2
2018-07-30 01:59:36 PDT
Comment on
attachment 346053
[details]
proposed patch.
Attachment 346053
[details]
did not pass jsc-ews (mac): Output:
https://webkit-queues.webkit.org/results/8697267
New failing tests: stress/ftl-put-by-id-setter-exception-interesting-live-state.js.ftl-eager-no-cjit apiTests
Yusuke Suzuki
Comment 3
2018-07-30 02:41:35 PDT
Comment on
attachment 346053
[details]
proposed patch. View in context:
https://bugs.webkit.org/attachment.cgi?id=346053&action=review
r=me
> Source/JavaScriptCore/ChangeLog:37 > + structureID 369 0x171 structure 0x104b723e0 > + indexingTypeAndMisc 11 0xb ArrayWithArrayStorage > + type 33 0x21
It would be nice if we can put classInfo's name too.
Mark Lam
Comment 4
2018-07-30 07:44:04 PDT
(In reply to Yusuke Suzuki from
comment #3
)
> Comment on
attachment 346053
[details]
> proposed patch. > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=346053&action=review
> > r=me
Thanks for the review.
> > Source/JavaScriptCore/ChangeLog:37 > > + structureID 369 0x171 structure 0x104b723e0 > > + indexingTypeAndMisc 11 0xb ArrayWithArrayStorage > > + type 33 0x21 > > It would be nice if we can put classInfo's name too.
We already do print the className e.g. <0x104bc8260, Object> <0x104bb4360, Array>
Mark Lam
Comment 5
2018-07-30 07:47:22 PDT
Landed in
r234363
: <
http://trac.webkit.org/r234363
>.
Radar WebKit Bug Importer
Comment 6
2018-07-30 07:48:25 PDT
<
rdar://problem/42731814
>
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