diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-28 03:36:34 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-28 03:36:34 +0000 |
commit | 7453c53b08655e9d17c0419716ffad1c41663b6d (patch) | |
tree | 34faa4463885e66c869a5590f5908f649323506c /ChangeLog | |
parent | b0e7ec8c9a06fa975cff864107af1e1c0780f19f (diff) | |
download | ruby-7453c53b08655e9d17c0419716ffad1c41663b6d.tar.gz |
* ext/objspace/object_tracing.c: fix a bug reported at
"[ruby-core:55182] [ruby-trunk - Bug #8456][Open] Sugfault in Ruby Head"
Care about the case TracePoint#path #=> `nil'.
* ext/objspace/object_tracing.c: add two new methods:
* ObjectSpace.allocation_class_path(o)
* ObjectSpace.allocation_method_id(o)
They are not useful for Object.new because they are always
"Class" and :new.
To trace more useful information, we need to maintain call-tree
using call/return hooks, which is implemented by
ll-prof <http://sunagae.net/wiki/doku.php?id=software:llprof>
* test/objspace/test_objspace.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1,3 +1,20 @@ +Tue May 28 12:31:21 2013 Koichi Sasada <ko1@atdot.net> + + * ext/objspace/object_tracing.c: fix a bug reported at + "[ruby-core:55182] [ruby-trunk - Bug #8456][Open] Sugfault in Ruby Head" + Care about the case TracePoint#path #=> `nil'. + + * ext/objspace/object_tracing.c: add two new methods: + * ObjectSpace.allocation_class_path(o) + * ObjectSpace.allocation_method_id(o) + They are not useful for Object.new because they are always + "Class" and :new. + To trace more useful information, we need to maintain call-tree + using call/return hooks, which is implemented by + ll-prof <http://sunagae.net/wiki/doku.php?id=software:llprof> + + * test/objspace/test_objspace.rb: add a test. + Tue May 28 11:30:02 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> * ext/extmk.rb (extmake): leave makefiles untouched if the content is |