Reviewers: Søren Gjesse,

Description:
Add initial version of retainers heap profile.

The profile is taken together with constructors profile. In theory, it
should represent a complete heap graph. However, this takes a lot of memory,
so it is reduced to a more compact, but still useful form. Namely:

  - objects are aggregated by their constructors, except for Array and Object
    instances, that are too hetereogeneous;

  - for Arrays and Objects, initially every instance is concerned, but then
    they are grouped together based on their retainer graph paths similarity
(e.g.
    if two objects has the same retainer, they are considered equal);

Please review this at http://codereview.chromium.org/200132

Affected files:
   M src/SConscript
   A src/heap-profiler.h
   A src/heap-profiler.cc
   M src/heap.h
   M src/heap.cc
   M src/log.h
   M src/log.cc
   M src/string-stream.h
   M src/string-stream.cc
   M test/cctest/SConscript
   A test/cctest/test-heap-profiler.cc
   M tools/gyp/v8.gyp
   M tools/v8.xcodeproj/project.pbxproj
   M tools/visual_studio/v8_base.vcproj
   M tools/visual_studio/v8_base_arm.vcproj
   M tools/visual_studio/v8_base_x64.vcproj
   M tools/visual_studio/v8_cctest.vcproj
   M tools/visual_studio/v8_cctest_arm.vcproj
   M tools/visual_studio/v8_cctest_x64.vcproj



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to