| Summary: | [WebCore] Put most of derived classes of ScriptWrappable into IsoHeap | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> | ||||||||||||||||
| Component: | DOM | Assignee: | Yusuke Suzuki <ysuzuki> | ||||||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||||||
| Severity: | Normal | CC: | ddkilzer, saam, webkit-bug-importer | ||||||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||||||
| Version: | WebKit Nightly Build | ||||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||
| Attachments: |
|
||||||||||||||||||
|
Description
Yusuke Suzuki
2019-04-01 18:39:42 PDT
Created attachment 366456 [details]
Patch
Created attachment 366458 [details]
Patch
I'll put some special MACRO to avoid accidental instantiation of template classes with non-iso-heap thing... Created attachment 366572 [details]
Patch
Created attachment 366575 [details]
Patch
Because derived classes of Event exist in Internal repository (see WebCore/dom/mac/GestureEvents.cpp), we do not include Event class hierarchy for now. Created attachment 366577 [details]
Patch
Created attachment 366580 [details]
Patch
The purpose of this patch is putting many classes into IsoHeap and watching the bots. 1. If the bots say it is not memory-footprint sensitive, we continue doing this and expanding IsoHeap converage. 2. If the bots say it is memory-footprint sensitive, investigate the scalability problem of current IsoHeap and fix this. Currently, this patch does not include Event and derived classes because they are also inherited in Internal repository. Comment on attachment 366580 [details]
Patch
r=me
Created attachment 366702 [details]
Patch
Patch for landing
Committed r243887: <https://trac.webkit.org/changeset/243887> I'm looking into RTCIceTransport linker errors. Committed r243890: <https://trac.webkit.org/changeset/243890> Seems this requires a clean build. I've forced a clean build on a few bots. No doubt more will be needed. (In reply to Michael Catanzaro from comment #16) > Seems this requires a clean build. I've forced a clean build on a few bots. > No doubt more will be needed. Yeah, I agree with you. It seems that forwarding headers are not updated, and clean build will solve it in GTK & WPE ports :) Committed r243924: <https://trac.webkit.org/changeset/243924> (In reply to Yusuke Suzuki from comment #18) > Committed r243924: <https://trac.webkit.org/changeset/243924> Follow-up build fix attempt for Windows (may not have fixed all issues): Committed r243931: <https://trac.webkit.org/changeset/243931> Committed r244052: <https://trac.webkit.org/changeset/244052> |