XDK heap profiler collector

This is a V8 part of the XDK heap profiler patch
Please keep indentation as above argument.