From 741a23f13cc25b140272f3360b3b2b2f83a77dc3 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Mon, 13 Jul 2015 20:20:29 -0700 Subject: [PATCH] Bug 1180763 - Part 0: Document the size property of entries in the tenure promotions log; r=sfink --- js/src/doc/Debugger/Debugger.Memory.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/src/doc/Debugger/Debugger.Memory.md b/js/src/doc/Debugger/Debugger.Memory.md index ae974933c31..046e13b15e8 100644 --- a/js/src/doc/Debugger/Debugger.Memory.md +++ b/js/src/doc/Debugger/Debugger.Memory.md @@ -284,6 +284,7 @@ Function Properties of the `Debugger.Memory.prototype` Object "timestamp": timestamp, "frame": allocationSite, "class": className, + "size": byteSize, } @@ -302,6 +303,9 @@ Function Properties of the `Debugger.Memory.prototype` Object `[[Class]]` property, for example "Array", "Date", "RegExp", or (most 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()` throws an `Error`.