DescriptionFBTF: New IPC definitions, only applied to async ROUTED and CONTROL messages.
The slowest cc files in chrome include render_messages.h and other IPC message
definitions. Including one of these files will bring in half of chrome because
in the IPC system previously required full class definitions due to
implementation details.
The new system allows forward declarations and places the implementations of
functions that need the full class definitions (ctor/dtor()/Log() and
superclass ctor/Read() methods) into a separate xxx_messages.cc file using a
parallel set of macros to ipc_message_macros.h. This has the added benefit
of moving most of the template instantiation junk into a small number of
files.
Pros:
- Will speed up compiling by a lot once everything is forward declared.
- Already, intermediary .o/.a files are smaller.
Cons:
- Adds a 4th pass to the messages system, this time in a different header.
BUG=51411
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=55259
Patch Set 1 #Patch Set 2 : build_config.h #Patch Set 3 : Fix render_view_test compilation on mac/win #Patch Set 4 : Fix missing Log in ParamTraits<MSG> #
Total comments: 3
Patch Set 5 : win/mac fixes #Patch Set 6 : dumb dumb dumb #
Total comments: 2
Patch Set 7 : Speculative win fix #Patch Set 8 : Do this a different way based on mpcomplete's advice #
Total comments: 5
Patch Set 9 : rebase #Patch Set 10 : win fixes #Patch Set 11 : mac fixes from old patch #Patch Set 12 : Move MessateWithTuple::ctor/Read() to an impl file that is selectively included. #
Total comments: 2
Patch Set 13 : rebase to tot #Patch Set 14 : Undo WebCursor for now to fix windows build. #Patch Set 15 : Undo WebCursor for now to fix windows build. #
Messages
Total messages: 9 (0 generated)
|