ruby-changes:19945
From: kosaki <ko1@a...>
Date: Sat, 11 Jun 2011 14:21:57 +0900 (JST)
Subject: [ruby-changes:19945] kosaki:r31992 (trunk): * vm.c (thread_memsize): don't ignore size of th->local_storage.
kosaki 2011-06-11 14:21:30 +0900 (Sat, 11 Jun 2011) New Revision: 31992 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31992 Log: * vm.c (thread_memsize): don't ignore size of th->local_storage. Modified files: trunk/ChangeLog trunk/vm.c Index: ChangeLog =================================================================== --- ChangeLog (revision 31991) +++ ChangeLog (revision 31992) @@ -1,3 +1,7 @@ +Sat Jun 11 14:20:16 2011 KOSAKI Motohiro <kosaki.motohiro@g...> + + * vm.c (thread_memsize): don't ignore size of th->local_storage. + Sat Jun 11 10:32:46 2011 Nobuyoshi Nakada <nobu@r...> * lib/mkmf.rb: should quote arch_hdrdir and libpath for the case Index: vm.c =================================================================== --- vm.c (revision 31991) +++ vm.c (revision 31992) @@ -1761,7 +1761,7 @@ size += th->stack_size * sizeof(VALUE); } if (th->local_storage) { - st_memsize(th->local_storage); + size += st_memsize(th->local_storage); } return size; } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/