diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-30 08:29:30 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-30 08:29:30 +0000 |
commit | 1d4e3d48c20325d541a24130de68ec81e92551b4 (patch) | |
tree | 31063021577c6397ee309d4f99d57bef90f7096e /ext | |
parent | 1450e0b5ac0a49aa1f0d1db521b293b18f6fa99c (diff) | |
download | ruby-1d4e3d48c20325d541a24130de68ec81e92551b4.tar.gz |
* ext/objspace/object_tracing.c: [DOC] add some nots for
ObjectSpace::trace_object_allocations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/objspace/object_tracing.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/objspace/object_tracing.c b/ext/objspace/object_tracing.c index ffb62fe832..fe39aa16f5 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) |