diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-13 09:57:41 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-13 09:57:41 +0000 |
| commit | 2ccf84fd9703a42d1343e5de00bbd319b7e6a7d3 (patch) | |
| tree | daa84cc5750b7aaf892ebc2046bff97e22317460 /ChangeLog | |
| parent | 1fad3302966e5e8e7fac7c6c3d728c08daa801c8 (diff) | |
| download | ruby-2ccf84fd9703a42d1343e5de00bbd319b7e6a7d3.tar.gz ruby-2ccf84fd9703a42d1343e5de00bbd319b7e6a7d3.tar.xz ruby-2ccf84fd9703a42d1343e5de00bbd319b7e6a7d3.zip | |
* gc.c (set_stack_end): new function to obtain stack end address.
set_stack_end obtains a stack end address by an address of local
variable in the function.
(SET_STACK_END, STACK_END): use set_stack_end. don't use alloca.
This makes the conservative garbage collector to scan a stack frame
of the garbage_collect function itself. This is required because
callee-save registers may be stored in the frame.
[ruby-dev:25158]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +Mon Dec 13 18:13:52 2004 Tanaka Akira <akr@m17n.org> + + * gc.c (set_stack_end): new function to obtain stack end address. + set_stack_end obtains a stack end address by an address of local + variable in the function. + (SET_STACK_END, STACK_END): use set_stack_end. don't use alloca. + This makes the conservative garbage collector to scan a stack frame + of the garbage_collect function itself. This is required because + callee-save registers may be stored in the frame. + [ruby-dev:25158] + Mon Dec 13 02:45:51 2004 Shugo Maeda <shugo@ruby-lang.org> * ext/curses/curses.c (window_subwin): call NUM2INT() before |
