avoid allocating backing file for APCFileStorage when it remains unused
commit0cabfe0c408ab7e423a50b7ffdcf48a5e8a28ba8
authorDaniel Andersson <koda@fb.com>
Tue, 10 Jan 2017 18:08:40 +0000 (10 10:08 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 10 Jan 2017 18:14:53 +0000 (10 10:14 -0800)
tree94028f009c1539d9f85f57da5971282b65dc5f1d
parent67c8faf8a9c2a4af894a2089cf61fca77f886687
avoid allocating backing file for APCFileStorage when it remains unused

Summary: Postpone allocating APCFileStorage's first backing chunk until actually used.

Reviewed By: binliu19

Differential Revision: D4395116

fbshipit-source-id: 4c72e2808d35ee7a94bea1882d7a47e2c2252d18
hphp/runtime/base/apc-file-storage.cpp
hphp/runtime/base/apc-file-storage.h