summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-11-09 21:13:01 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2025-11-09 22:11:40 +0900
commit87c39667bf881527d4ddfe1c558fc98adb9543a0 (patch)
tree15e208d8ba9d771a25f9a983a58aba702252e4a0
parent953fee11b39197f4ab6170c4c0a48a396be2b4cc (diff)
[DOC] ObjectSpace.trace_object_allocations_debug_start
-rw-r--r--ext/objspace/object_tracing.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/objspace/object_tracing.c b/ext/objspace/object_tracing.c
index 0156642ef2..63eec67393 100644
--- a/ext/objspace/object_tracing.c
+++ b/ext/objspace/object_tracing.c
@@ -411,6 +411,13 @@ object_allocations_reporter(FILE *out, void *ptr)
fprintf(out, "== object_allocations_reporter: END\n");
}
+/*
+ * call-seq: trace_object_allocations_debug_start
+ *
+ * Starts tracing object allocations for GC debugging.
+ * If you encounter the BUG "... is T_NONE" (and so on) on your
+ * application, please try this method at the beginning of your app.
+ */
static VALUE
trace_object_allocations_debug_start(VALUE self)
{