From 9c6deac2d1ea29002f4af33b9c1c15aa2d4c34b7 Mon Sep 17 00:00:00 2001 From: ko1 Date: Thu, 27 Nov 2014 01:56:38 +0000 Subject: * vm_core.h: add rb_thread_t::local_storage_recursive_hash to speed up Thread#[:__recursive_key__] access. [Bug #10511] * thread.c (threadptr_local_aref): add fast path for :__recursive_data__. * thread.c (threadptr_recursive_hash, threadptr_recursive_hash_set): add special accessor for recursive hash. * cont.c: store/restore local_storage_recursive_hash. * vm.c: init and mark local_storage_recursive_hash. * vm_trace.c (rb_threadptr_exec_event_hooks_orig): clear and restore local_storage_recursive_hash directly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index b2c2af8f28..ee3ac8deae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,22 @@ +Thu Nov 27 10:51:59 2014 Koichi Sasada + + * vm_core.h: add rb_thread_t::local_storage_recursive_hash + to speed up Thread#[:__recursive_key__] access. + [Bug #10511] + + * thread.c (threadptr_local_aref): add fast path for + :__recursive_data__. + + * thread.c (threadptr_recursive_hash, threadptr_recursive_hash_set): + add special accessor for recursive hash. + + * cont.c: store/restore local_storage_recursive_hash. + + * vm.c: init and mark local_storage_recursive_hash. + + * vm_trace.c (rb_threadptr_exec_event_hooks_orig): clear and restore + local_storage_recursive_hash directly. + Thu Nov 27 07:11:00 2014 Eric Wong * compile.c (iseq_calc_param_size): hoist out of iseq_set_arguments -- cgit v1.2.3