[heap] Separate ObjectStats out into its own class.
authormstarzinger <mstarzinger@chromium.org>
Wed, 2 Sep 2015 16:43:21 +0000 (09:43 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 2 Sep 2015 16:43:40 +0000 (16:43 +0000)
commitc7de3e7f27fb4068191a6434f47d20191e676ed6
tree4e637824e5369eb15926b0bfb5e5fc2296b359fd
parenta369ab1838180284f4bbb668dfe18e2497567867
[heap] Separate ObjectStats out into its own class.

Note that this is only pulling out the bookkeeping side of things, the
marking visitor that actually records the statistics should also move
into the ObjectStats class. That will be done as a follow-up.

R=mlippautz@chromium.org

Review URL: https://codereview.chromium.org/1326793002

Cr-Commit-Position: refs/heads/master@{#30547}
BUILD.gn
src/api.cc
src/heap/heap.cc
src/heap/heap.h
src/heap/mark-compact.cc
src/heap/object-stats.cc [new file with mode: 0644]
src/heap/object-stats.h [new file with mode: 0644]
tools/gyp/v8.gyp