Bug 154014 - [iOS] Throw away some unlinked code when navigating to a new page.
Summary: [iOS] Throw away some unlinked code when navigating to a new page.
Status: REOPENED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords: Performance
Depends on: 154026
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-08 15:55 PST by Andreas Kling
Modified: 2016-02-09 04:37 PST (History)
9 users (show)

See Also:


Attachments
Patch (5.39 KB, patch)
2016-02-08 15:56 PST, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2016-02-08 15:55:10 PST
Let's throw away even more code when leaving a page!
Comment 1 Andreas Kling 2016-02-08 15:56:26 PST
Created attachment 270890 [details]
Patch
Comment 2 WebKit Commit Bot 2016-02-08 18:22:30 PST
Comment on attachment 270890 [details]
Patch

Clearing flags on attachment: 270890

Committed r196286: <http://trac.webkit.org/changeset/196286>
Comment 3 WebKit Commit Bot 2016-02-08 18:22:35 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 WebKit Commit Bot 2016-02-09 04:35:05 PST
Re-opened since this is blocked by bug 154026
Comment 5 Andreas Kling 2016-02-09 04:37:49 PST
Seems like this does bad things to iOS PLT. Possibly due to CodeCache vending executables for functions, not unlinkedcodeblocks. So this code might be nuking the unlinked code for those, assuming that Heap tracks CodeCache executables. Need to look into it.

Also this was a much smaller win on bots than throwing away linked code was.