Reviewers: Søren Gjesse, Description: Introduce first approximation of constructor heap profile for JS objects.
It is activated with '--log-gc' flag. JS object size is calculated as its size + size of 'properties' and 'elements' arrays, if they are non-empty. This doesn't take maps, strings, heap numbers, and other shared objects into account. Please review this at http://codereview.chromium.org/159504 Affected files: M src/heap.cc M src/log.h M src/log.cc M src/spaces.h M tools/process-heap-prof.py --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
