Added a simple test case checking the maps descriptors and transitions.
https://chromiumcodereview.appspot.com/10830309/diff/6001/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/10830309/diff/6001/src/profile-generator.cc#newcode2015 src/profile-generator.cc:2015: SetInternalReference(transitions, entry, This is an internal detail that we do not want to expose to the user. We just want to show that a map has descriptors and transitions. Transition arrays can indeed not be distinguished from other fixed arrays. On 2012/08/16 12:42:53, Yury Semikhatsky wrote:
This way we will add direct link map->descriptors to the heap
snapshot. Why not
extract all this block into ExtractTransitionArrayReferences and call
it from
V8HeapExplorer::ExtractReferences? Or you can not discriminate between TransitionArray and simple FixedArray? That way we would get fair map->transitions->descriptors chain.
https://chromiumcodereview.appspot.com/10830309/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
