зеркало из https://github.com/github/ruby.git
* gc.c (mark_current_machine_context): Call SET_STACK_END.
This reverts a hunk of r40703 by ko1. This fixes [ruby-dev:48098] [Bug #9717]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
960c8ab125
Коммит
8a8221e69d
|
@ -1,3 +1,9 @@
|
|||
Wed Apr 9 23:22:44 2014 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* gc.c (mark_current_machine_context): Call SET_STACK_END.
|
||||
This reverts a hunk of r40703 by ko1.
|
||||
This fixes [ruby-dev:48098] [Bug #9717].
|
||||
|
||||
Wed Apr 9 21:02:04 2014 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* process.c (OBJ2UID1): Defined even if getpwnam_r is not usable.
|
||||
|
|
1
gc.c
1
gc.c
|
@ -3507,6 +3507,7 @@ mark_current_machine_context(rb_objspace_t *objspace, rb_thread_t *th)
|
|||
/* This assumes that all registers are saved into the jmp_buf (and stack) */
|
||||
rb_setjmp(save_regs_gc_mark.j);
|
||||
|
||||
SET_STACK_END;
|
||||
GET_STACK_BOUNDS(stack_start, stack_end, 1);
|
||||
|
||||
mark_locations_array(objspace, save_regs_gc_mark.v, numberof(save_regs_gc_mark.v));
|
||||
|
|
Загрузка…
Ссылка в новой задаче