Static link libjsoncpp in libprocessgroup
The majority of libjsoncpp use is due to libprocessgroup. Static
linking reduces relocations required at runtime as well as compacts the
pages dirtied by relocations. On a 32-bit system, where this matters
the most, this reduces 8KB of dirty pages per libprocessgroup load.
Overall, the dirty page reduction on 32-bit cuttlefish is ~500KB.
Bug: 132275636
Test: Boot on cuttlefish. Calculate total amount of dirty memory used
for libprocessgroup and libjsoncpp.
Change-Id: I1135bb45a3764f96a4a3a47c98fbcdee3913c988
This commit is contained in:
parent
9d7d26a5cf
commit
b562e68503
1 changed files with 2 additions and 0 deletions
|
|
@ -32,6 +32,8 @@ cc_library {
|
|||
shared_libs: [
|
||||
"libbase",
|
||||
"libcgrouprc",
|
||||
],
|
||||
static_libs: [
|
||||
"libjsoncpp",
|
||||
],
|
||||
// for cutils/android_filesystem_config.h
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue