summaryrefslogtreecommitdiff
path: root/ext/objspace/object_tracing.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/objspace/object_tracing.c')
-rw-r--r--ext/objspace/object_tracing.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/objspace/object_tracing.c b/ext/objspace/object_tracing.c
index ffb62fe..fe39aa1 100644
--- a/ext/objspace/object_tracing.c
+++ b/ext/objspace/object_tracing.c
@@ -245,7 +245,10 @@ trace_object_allocations_clear(VALUE self)
*
* This example has included the ObjectSpace module to make it easier to read,
* but you can also use the
- * "<code>ObjectSpace::trace_object_allocations</code>" notation.
+ * "<code>ObjectSpace::trace_object_allocations</code>" notation (recommended).
+ *
+ * Note that this feature introduces huge performance down and huge memory
+ * consumption.
*/
static VALUE
trace_object_allocations(VALUE self)