[ruby-core:26443] [Bug #2315] [PATCH] gc.c: DRY machine stack calculations

View: New views
2 Messages — Rating Filter:   Alert me  

[ruby-core:26443] [Bug #2315] [PATCH] gc.c: DRY machine stack calculations

by Alexey Froloff :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bug #2315: [PATCH] gc.c: DRY machine stack calculations
http://redmine.ruby-lang.org/issues/show/2315

Author: Suraj Kurapati
Status: Open, Priority: Normal
Category: core
ruby -v: ruby 1.9.2dev (2009-10-31 trunk 25467) [i686-linux]

Hi,

This patch refactors *duplicated* machine stack calculation code from
mark_current_machine_context() and rb_gc_mark_machine_stack() in gc.c
into a new internal get_machine_stack_bounds() function.

Thanks for your consideration.


----------------------------------------
http://redmine.ruby-lang.org


[ruby-core:26462] [Bug #2315](Closed) [PATCH] gc.c: DRY machine stack calculations

by Alexey Froloff :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Issue #2315 has been updated by Nobuyoshi Nakada.

Status changed from Open to Closed
% Done changed from 0 to 100

This issue was solved with changeset r25604.
Suraj, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----------------------------------------
http://redmine.ruby-lang.org/issues/show/2315

----------------------------------------
http://redmine.ruby-lang.org