From 293534986f336e9f65ba9d8f9f66fcd86607eca7 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 13 Dec 2004 09:58:12 +0000 Subject: * gc.c (stack_end_address): new function to obtain stack end address. stack_end_address calls __builtin_frame_address(0) to obtain the frame pointer of a stack frame of stack_end_address. The address is the stack pointer of the caller's stack frame. (SET_STACK_END): use stack_end_address. 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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index f3b5d40fbb..1bbcddc963 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +Mon Dec 13 18:13:52 2004 Tanaka Akira + + * gc.c (stack_end_address): new function to obtain stack end address. + stack_end_address calls __builtin_frame_address(0) to obtain the + frame pointer of a stack frame of stack_end_address. The address + is the stack pointer of the caller's stack frame. + (SET_STACK_END): use stack_end_address. + 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 00:58:02 2004 Tanaka Akira * lib/pathname.rb (cleanpath_aggressive): make it private. -- cgit v1.2.3