From 1d4e3d48c20325d541a24130de68ec81e92551b4 Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 30 Sep 2013 08:29:30 +0000 Subject: * 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 --- ChangeLog | 5 +++++ ext/objspace/object_tracing.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f52d41c1c0..c3796f4ae6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Sep 30 17:28:39 2013 Koichi Sasada + + * ext/objspace/object_tracing.c: [DOC] add some nots for + ObjectSpace::trace_object_allocations. + Mon Sep 30 16:46:58 2013 Koichi Sasada * ext/objspace/object_tracing.c: add new 3 methods to control tracing. 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 - * "ObjectSpace::trace_object_allocations" notation. + * "ObjectSpace::trace_object_allocations" notation (recommended). + * + * Note that this feature introduces huge performance down and huge memory + * consumption. */ static VALUE trace_object_allocations(VALUE self) -- cgit v1.2.3