| Summary: | [DFG] Reduce OSRExit for Kraken/crypto-aes due to CoW array | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> | ||||||
| Component: | New Bugs | Assignee: | Yusuke Suzuki <ysuzuki> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | ews-watchlist, guijemont, keith_miller, mark.lam, msaboff, saam, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Yusuke Suzuki
2018-06-16 08:17:36 PDT
Created attachment 342879 [details]
Patch
Created attachment 342880 [details]
Patch
Comment on attachment 342880 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=342880&action=review r=me. > Source/JavaScriptCore/runtime/CommonSlowPaths.cpp:1166 > + ArrayAllocationProfile::updateLastAllocationFor(profile, result); Ha, whoops! I think I removed that to test something and forgot to put it back later... Comment on attachment 342880 [details]
Patch
Yeah, we still have one more OSRExit, which is caused by Array#slice lookup. Personally, I think this can be fixed Fil's CreateThis's GetById extension, but idk.
Committed r232904: <https://trac.webkit.org/changeset/232904> Since this change, stress/cow-convert-double-to-contiguous.js and stress/cow-convert-int32-to-contiguous.js fail on all 32-bit platforms. I'm trying to understand why. |