Make new space allocation throughput estimation more accurate.
authorulan <ulan@chromium.org>
Thu, 21 May 2015 10:19:09 +0000 (03:19 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 21 May 2015 10:18:51 +0000 (10:18 +0000)
commit57ce9724be99df36011b3191b1372c9d1007dfba
tree3c8afadd437c63602700ebec1c0e52778a344ef4
parentd2ca18d8496598f12859595a5b2db55d59ce0745
Make new space allocation throughput estimation more accurate.

Sample new space allocation throughput at scavenge and at idle notificatioon.

This will allow better estimation of mutator idleness for switching between
latency and memory modes in idle notification handler.

BUG=chromium:486005
LOG=NO
TEST=cctest/test-heap/NewSpaceAllocationThroughput

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

Cr-Commit-Position: refs/heads/master@{#28537}
src/heap/gc-tracer.cc
src/heap/gc-tracer.h
src/heap/heap.cc
src/heap/heap.h
src/heap/spaces.cc
src/heap/spaces.h
test/cctest/test-heap.cc