Some of the entries from the output of the --log-gc options are easily
interpreted, others...I'm still trying to reverse engineer.

Here are a couple of formats I *think* I understand

* heap-sample-item entries break down heap usage into objects
categorized by javascript object type
heap-sample-item,<object type>,<objects count>,<size in memory>
e.g. heap-sample-item,JS_REGEXP_TYPE,1,72

* heap-js-cons-item entries break down heap usage into objects
categorized by prototype constructor
heap-sample-item,<constructor>,<objects count>,<size in memory>
e.g. heap-js-cons-item,Error,6,288


Could anyone provide feedback and shed a light on the format of other
log-gc entries? E.g. heap-js-ret-item? How do I interpret the  entry
below?
heap-js-ret-item,Date,Object:0x126092399;300,(code);1,Stream;6712

(best guess at this point goes "at the time of sampling objects with
Date constructor were referenced 300 times from an Object at address
0x126092399, 1 time by (code), and 6,712 times by Stream objects")

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to