Reviewers: Alexandra Mikhaylova, Yury Semikhatsky, alph,

Description:
AllocationProfiler: Inital version of RecordObjectAllocation for hydrogen.
We are using hydrogen for stubs. So we would like to see the objects
that were allocated from hydrogen.

HAllocate has no enough information about memory chunks in the allocated memory
fragment.
As example JSArray allocates as a single memory fragment but it has inside
three heap objects: array header, memento and fixed array for the elements.

The only way to report them separately is to do that on hydrogen level from the
place where
we have the information about chunk sizes.

BUG=none

Please review this at https://codereview.chromium.org/40153003/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+130, -45 lines):
  M src/assembler.cc
  M src/code-stubs.h
  M src/heap-profiler.h
  M src/heap-profiler.cc
  M src/hydrogen-instructions.h
  M src/hydrogen-instructions.cc
  M src/hydrogen.h
  M src/hydrogen.cc
  M src/x64/lithium-codegen-x64.cc
  M src/x64/lithium-x64.h
  M src/x64/lithium-x64.cc
  M src/x64/macro-assembler-x64.h
  M src/x64/macro-assembler-x64.cc


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to