DescriptionAdd an ability to initiate GC through V8 API.
I'm planning to use it in DevTools heap profiler. It is a common scenario in debugging memory leaks to enforce GC, then perform an operation, then enforce GC again to check for non-collected (that is, leaked) objects. Using the existing GC extension isn't possible because it doesn't exposed in the normal operation mode of Chromium.
Committed: http://code.google.com/p/v8/source/detail?r=2619
Patch Set 1 #Patch Set 2 : Reworked to hide explicit GC inside Profiler API #
Total comments: 4
Messages
Total messages: 5 (0 generated)
|