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 (cherry picked from commit b562e685)
Loading
Please register or sign in to comment