Don't use Sweepable for APCLocalArray
commite638e84c0cc746ccbbaa6acaa887e28d8d0251c5
authorEdwin Smith <smith@fb.com>
Sun, 9 Nov 2014 15:35:26 +0000 (9 07:35 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Mon, 10 Nov 2014 13:30:33 +0000 (10 05:30 -0800)
treef7485ce93e6919808e6f20339df36e43e9d49fc1
parent6662fae9a45d37267a08e45265e25f65a95b7681
Don't use Sweepable for APCLocalArray

Summary: Keep track of APCLocalArrays using a dedicated list in MemoryManager,
similar to how we track APC strings. This makes APCLocalArray not
use Sweepable, which devirtualizes it and reduces sizeof from 64 to 40.

Reviewed By: @jdelong

Differential Revision: D1669231

Signature: t1:1669231:1415548069:e617e85f2866d031f9dc313ccc69420d3d19f3ba
hphp/runtime/base/apc-local-array-defs.h
hphp/runtime/base/apc-local-array.cpp
hphp/runtime/base/apc-local-array.h
hphp/runtime/base/memory-manager.cpp
hphp/runtime/base/memory-manager.h