WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
187949
[JSC] Record CoW status in ArrayProfile correctly
https://bugs.webkit.org/show_bug.cgi?id=187949
Summary
[JSC] Record CoW status in ArrayProfile correctly
Yusuke Suzuki
Reported
2018-07-24 02:25:14 PDT
[JSC] Record CoW status in ArrayProfile
Attachments
Patch
(17.81 KB, patch)
2018-07-24 02:35 PDT
,
Yusuke Suzuki
no flags
Details
Formatted Diff
Diff
Patch
(18.55 KB, patch)
2018-07-24 02:39 PDT
,
Yusuke Suzuki
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews113 for mac-sierra
(3.07 MB, application/zip)
2018-07-24 04:44 PDT
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews200 for win-future
(12.88 MB, application/zip)
2018-07-24 05:09 PDT
,
EWS Watchlist
no flags
Details
Patch
(18.55 KB, patch)
2018-07-24 05:22 PDT
,
Yusuke Suzuki
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews112 for mac-sierra
(3.09 MB, application/zip)
2018-07-24 07:10 PDT
,
EWS Watchlist
no flags
Details
Patch
(18.66 KB, patch)
2018-07-24 09:02 PDT
,
Yusuke Suzuki
no flags
Details
Formatted Diff
Diff
Patch
(10.85 KB, patch)
2018-07-25 04:08 PDT
,
Yusuke Suzuki
saam
: review+
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Yusuke Suzuki
Comment 1
2018-07-24 02:35:01 PDT
Created
attachment 345647
[details]
Patch
Yusuke Suzuki
Comment 2
2018-07-24 02:39:48 PDT
Created
attachment 345648
[details]
Patch
EWS Watchlist
Comment 3
2018-07-24 04:44:37 PDT
Comment on
attachment 345648
[details]
Patch
Attachment 345648
[details]
did not pass mac-debug-ews (mac): Output:
https://webkit-queues.webkit.org/results/8636661
New failing tests: js/dom/dfg-ensure-non-array-array-storage-on-window.html
EWS Watchlist
Comment 4
2018-07-24 04:44:39 PDT
Created
attachment 345658
[details]
Archive of layout-test-results from ews113 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews113 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 5
2018-07-24 05:09:11 PDT
Comment on
attachment 345648
[details]
Patch
Attachment 345648
[details]
did not pass win-ews (win): Output:
https://webkit-queues.webkit.org/results/8637169
New failing tests: http/tests/security/canvas-remote-read-remote-video-blocked-no-crossorigin.html http/tests/security/canvas-remote-read-remote-video-redirect.html
EWS Watchlist
Comment 6
2018-07-24 05:09:22 PDT
Created
attachment 345662
[details]
Archive of layout-test-results from ews200 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews200 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Yusuke Suzuki
Comment 7
2018-07-24 05:22:01 PDT
Created
attachment 345664
[details]
Patch
EWS Watchlist
Comment 8
2018-07-24 07:10:42 PDT
Comment on
attachment 345664
[details]
Patch
Attachment 345664
[details]
did not pass mac-debug-ews (mac): Output:
https://webkit-queues.webkit.org/results/8637811
New failing tests: js/dom/dfg-ensure-non-array-array-storage-on-window.html
EWS Watchlist
Comment 9
2018-07-24 07:10:43 PDT
Created
attachment 345672
[details]
Archive of layout-test-results from ews112 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews112 Port: mac-sierra Platform: Mac OS X 10.12.6
Yusuke Suzuki
Comment 10
2018-07-24 08:38:41 PDT
Comment on
attachment 345664
[details]
Patch Investigating.
Yusuke Suzuki
Comment 11
2018-07-24 09:02:33 PDT
Created
attachment 345678
[details]
Patch
Saam Barati
Comment 12
2018-07-24 12:23:58 PDT
Comment on
attachment 345678
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=345678&action=review
r=me
> Source/JavaScriptCore/bytecode/ArrayProfile.h:274 > + ArrayModes m_observedArrayModes { 0 }; > + unsigned m_observedIndexingModes { 0 };
I think this class would be smaller if you moved these two fields to behind StructureID
Yusuke Suzuki
Comment 13
2018-07-24 17:39:18 PDT
Comment on
attachment 345678
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=345678&action=review
Thanks!
>> Source/JavaScriptCore/bytecode/ArrayProfile.h:274 >> + unsigned m_observedIndexingModes { 0 }; > > I think this class would be smaller if you moved these two fields to behind StructureID
Fixed.
Yusuke Suzuki
Comment 14
2018-07-24 17:41:15 PDT
Committed
r234183
: <
https://trac.webkit.org/changeset/234183
>
Radar WebKit Bug Importer
Comment 15
2018-07-24 17:43:15 PDT
<
rdar://problem/42564046
>
WebKit Commit Bot
Comment 16
2018-07-24 18:49:54 PDT
Re-opened since this is blocked by
bug 187983
Yusuke Suzuki
Comment 17
2018-07-25 00:53:51 PDT
While Tools/Scripts/run-jsc-benchmark does not show this regression, sunspider benchmark driver in AWFY reproduces this regression. Investigating it.
Yusuke Suzuki
Comment 18
2018-07-25 04:04:55 PDT
It seems that Kraken desaturate's array profiles see CoW array at least once, but later, it is seeing non-CoW arrays. In this situation, specializing for non-CoW array is more profitable. Anyway, I would like to reduce the scope of this patch first. I'll upload the patch that includes indexing type fixing.
Yusuke Suzuki
Comment 19
2018-07-25 04:08:40 PDT
Created
attachment 345751
[details]
Patch
Yusuke Suzuki
Comment 20
2018-07-26 15:33:18 PDT
Ping?
Yusuke Suzuki
Comment 21
2018-07-27 15:00:42 PDT
Comment on
attachment 345751
[details]
Patch Thanks!
Yusuke Suzuki
Comment 22
2018-07-27 15:27:15 PDT
Committed
r234331
: <
https://trac.webkit.org/changeset/234331
>
Yusuke Suzuki
Comment 23
2018-07-27 23:43:25 PDT
It fixed Kraken/crypto-ccm regression a bit.
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