[DOC] ObjectSpace.trace_object_allocations_debug_start

This commit is contained in:
Nobuyoshi Nakada 2025-11-09 21:13:01 +09:00
parent 953fee11b3
commit 87c39667bf
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465
Notes: git 2025-11-09 13:16:57 +00:00

View File

@ -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)
{