Allocate uncounted strings with malloc.
commitb61e57abb38c690d52c5f420d926858b2bbb23b2
authorEdwin Smith <smith@fb.com>
Sat, 13 Sep 2014 14:44:33 +0000 (13 07:44 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Sat, 13 Sep 2014 20:00:15 +0000 (13 13:00 -0700)
treebebe906d85f94efa710ca1871d10c2c5bd0275cc
parentdc48798a6ee105a15429eb3f9c401380d25ef97a
Allocate uncounted strings with malloc.

Summary: APC strings are uncounted but not static, and consume a lot of
low-memory. This pressure can be bad in general, but especially
when the treadmill stalls.

Reviewed By: @markw65

Differential Revision: D1554596
hphp/runtime/base/apc-handle.cpp
hphp/runtime/base/mixed-array.cpp
hphp/runtime/base/string-data.cpp
hphp/runtime/base/string-data.h