XDK heap profiler collector

This is a V8 part of the XDK heap profiler patch
Commenting out code is not recommended. Remove them if you don't need.