diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-09 03:26:07 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-09 03:26:07 +0000 |
commit | d3363a96df2f68e4a9b0454bb5aeba7705d3662c (patch) | |
tree | 55521d92a6ad36bf46eab381643a093a43a482c8 /ChangeLog | |
parent | b4ab650e1ab3b1961a8aea8bc510cc041045a7db (diff) |
object_tracing.c: fix allocation from NEWOBJ hook
* ext/objspace/object_tracing.c (newobj_i): use cached class path
only to get rid object allocation during NEWOBJ hook.
[ruby-core:58853] [Bug #9212]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,8 @@ -Mon Dec 9 12:25:32 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> +Mon Dec 9 12:26:05 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * ext/objspace/object_tracing.c (newobj_i): use cached class path + only to get rid object allocation during NEWOBJ hook. + [ruby-core:58853] [Bug #9212] * variable.c (rb_class_path_cached): returns cached class path only, without searching and allocating new class path string. |