Make APCObject::createObjectSlow work on const objects.
commit0d98b0b0b0cd626a59bde4fee4ba1dc9be970399
authorAlexey Toptygin <alexeyt@fb.com>
Tue, 9 Jul 2019 21:18:53 +0000 (9 14:18 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 10 Jul 2019 02:55:44 +0000 (9 19:55 -0700)
treef475e1da05a539f7f81f82465013315f445502aa
parent05109d9eb32fd91bed944f636e1374597a0c64bd
Make APCObject::createObjectSlow work on const objects.

Summary: And add unit tests for various APC scenarios.

Reviewed By: markw65

Differential Revision: D16097528

fbshipit-source-id: 9162094a9d5fd3136934cbd2cd59a0828e2a88e3
hphp/runtime/base/apc-object.cpp
hphp/test/slow/object/const/apc-slow.inc [new file with mode: 0644]
hphp/test/slow/object/const/apc-slow.php [new file with mode: 0644]
hphp/test/slow/object/const/apc-slow.php.expect [new file with mode: 0644]
hphp/test/slow/object/const/apc-slow.php.opts [new file with mode: 0644]
hphp/test/slow/object/const/apc-wakeup.php [new file with mode: 0644]
hphp/test/slow/object/const/apc-wakeup.php.expect [new file with mode: 0644]
hphp/test/slow/object/const/apc-wakeup.php.opts [new file with mode: 0644]
hphp/test/slow/object/const/apc.php [new file with mode: 0644]
hphp/test/slow/object/const/apc.php.expect [new file with mode: 0644]
hphp/test/slow/object/const/apc.php.opts [new file with mode: 0644]