Bug 1180763 - Part 0: Document the size property of entries in the tenure promotions log; r=sfink

This commit is contained in:
Nick Fitzgerald 2015-07-13 20:20:29 -07:00
parent ddee007ca8
commit 741a23f13c

View File

@ -284,6 +284,7 @@ Function Properties of the `Debugger.Memory.prototype` Object
"timestamp": <i>timestamp</i>, "timestamp": <i>timestamp</i>,
"frame": <i>allocationSite</i>, "frame": <i>allocationSite</i>,
"class": <i>className</i>, "class": <i>className</i>,
"size": <i>byteSize</i>,
} }
</pre> </pre>
@ -302,6 +303,9 @@ Function Properties of the `Debugger.Memory.prototype` Object
`[[Class]]` property, for example "Array", "Date", "RegExp", or (most `[[Class]]` property, for example "Array", "Date", "RegExp", or (most
commonly) "Object". commonly) "Object".
* *byteSize* is the size of the newly tenured object (within the tenured
heap, not the nursery) in bytes.
When `trackingTenurePromotions` is `false`, `drainTenurePromotionsLog()` When `trackingTenurePromotions` is `false`, `drainTenurePromotionsLog()`
throws an `Error`. throws an `Error`.