XDK heap profiler collector

This is a V8 part of the XDK heap profiler patch
Please keep 4 spaces indent of new line.