Closed
Bug 897539
Opened 11 years ago
Closed 11 years ago
uninline ProtocolErrorBreakpoint to avoid code and string bloat
Categories
(Core :: IPC, defect)
Core
IPC
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: froydnj, Unassigned)
Details
Attachments
(1 file)
2.24 KB,
patch
|
bent.mozilla
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Comment 1•11 years ago
|
||
Having this error-only function inlined causes code bloat. The string argument to printf_stderr also gets duplicated in all files where ProtocolErrorBreakpoint is called. I see ~7k code size reduction over ipc/ipdl/*.o from this change, according to size(1). Curiously, I don't see any data size reduction from this according to size(1), but I verified that the string section for one of the .o files *is* smaller (~25 bytes * ~170 files, so another 3k or so in savings), so it's possible size(1) is not a reliable guide here.
Attachment #780451 -
Flags: review?(bent.mozilla)
Updated•11 years ago
|
Attachment #780451 -
Flags: review?(bent.mozilla) → review+
Comment 2•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6d171bc59674
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in
before you can comment on or make changes to this bug.
Description
•