Reduce RDS usage
commita650d1369456cec608f129e3c1614affbea364aa
authorBrett Simmers <bsimmers@fb.com>
Thu, 19 Nov 2015 03:12:35 +0000 (18 19:12 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Thu, 19 Nov 2015 03:30:37 +0000 (18 19:30 -0800)
tree50b0263a01050bd9a0dfd4be5d76f2c6a2971b89
parentb60472de0b0e1475018b84881d46f5787bcb7103
Reduce RDS usage

Summary: - Use LowPtrs for Func* and Class*
- Rather than giving each Class with persistent static properties its own copy
  of true, make them all point at a single, shared true.

Next on my list is looking at using bits rather than rds::Link<bool> for
Class::m_sPropCacheInit.

Reviewed By: edwinsmith

Differential Revision: D2666746

fb-gh-sync-id: 4680e561819fc8cbc375b9ae34adc4a7ca4fefec
14 files changed:
hphp/runtime/vm/class-inl.h
hphp/runtime/vm/class.cpp
hphp/runtime/vm/class.h
hphp/runtime/vm/func-inl.h
hphp/runtime/vm/func-inline.h
hphp/runtime/vm/func.cpp
hphp/runtime/vm/func.h
hphp/runtime/vm/jit/code-gen-x64.cpp
hphp/runtime/vm/jit/code-gen-x64.h
hphp/runtime/vm/jit/target-cache.h
hphp/runtime/vm/jit/translator-runtime.cpp
hphp/runtime/vm/jit/translator-runtime.h
hphp/runtime/vm/named-entity.h
hphp/runtime/vm/unit.cpp