RESOLVED FIXED 196475
[WebCore] Put most of derived classes of ScriptWrappable into IsoHeap
https://bugs.webkit.org/show_bug.cgi?id=196475
Summary [WebCore] Put most of derived classes of ScriptWrappable into IsoHeap
Yusuke Suzuki
Reported 2019-04-01 18:39:42 PDT
...
Attachments
Patch (31.37 KB, patch)
2019-04-01 19:26 PDT, Yusuke Suzuki
no flags
Patch (36.10 KB, patch)
2019-04-01 19:38 PDT, Yusuke Suzuki
no flags
Patch (395.64 KB, patch)
2019-04-02 20:16 PDT, Yusuke Suzuki
no flags
Patch (390.95 KB, patch)
2019-04-02 21:11 PDT, Yusuke Suzuki
no flags
Patch (279.26 KB, patch)
2019-04-02 22:29 PDT, Yusuke Suzuki
no flags
Patch (279.76 KB, patch)
2019-04-02 22:55 PDT, Yusuke Suzuki
saam: review+
Patch (291.40 KB, patch)
2019-04-04 01:20 PDT, Yusuke Suzuki
no flags
Yusuke Suzuki
Comment 1 2019-04-01 19:26:44 PDT
Yusuke Suzuki
Comment 2 2019-04-01 19:38:51 PDT
Yusuke Suzuki
Comment 3 2019-04-01 19:39:31 PDT
I'll put some special MACRO to avoid accidental instantiation of template classes with non-iso-heap thing...
Yusuke Suzuki
Comment 4 2019-04-02 20:16:39 PDT
Yusuke Suzuki
Comment 5 2019-04-02 21:11:14 PDT
Yusuke Suzuki
Comment 6 2019-04-02 22:14:22 PDT
Because derived classes of Event exist in Internal repository (see WebCore/dom/mac/GestureEvents.cpp), we do not include Event class hierarchy for now.
Yusuke Suzuki
Comment 7 2019-04-02 22:29:24 PDT
Yusuke Suzuki
Comment 8 2019-04-02 22:55:49 PDT
Yusuke Suzuki
Comment 9 2019-04-02 22:56:13 PDT
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.
Saam Barati
Comment 10 2019-04-03 11:18:24 PDT
Comment on attachment 366580 [details] Patch r=me
Yusuke Suzuki
Comment 11 2019-04-04 01:20:41 PDT
Created attachment 366702 [details] Patch Patch for landing
Yusuke Suzuki
Comment 12 2019-04-04 12:08:16 PDT
Radar WebKit Bug Importer
Comment 13 2019-04-04 12:09:25 PDT
Yusuke Suzuki
Comment 14 2019-04-04 12:57:34 PDT
I'm looking into RTCIceTransport linker errors.
Yusuke Suzuki
Comment 15 2019-04-04 13:08:45 PDT
Michael Catanzaro
Comment 16 2019-04-04 13:13:58 PDT
Seems this requires a clean build. I've forced a clean build on a few bots. No doubt more will be needed.
Yusuke Suzuki
Comment 17 2019-04-04 13:27:38 PDT
(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 :)
Yusuke Suzuki
Comment 18 2019-04-04 18:45:33 PDT
David Kilzer (:ddkilzer)
Comment 19 2019-04-05 05:25:54 PDT
(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>
Yusuke Suzuki
Comment 20 2019-04-08 15:26:23 PDT
Note You need to log in before you can comment on or make changes to this bug.