Skip to content

Commit f3274f5

Browse files
committed
merge revision(s) r45542,r45543: [Backport ruby#9717]
* gc.c (mark_current_machine_context): Call SET_STACK_END. This reverts a hunk of r40703 by ko1. This fixes [ruby-dev:48098] [Bug ruby#9717]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 1f5aeeb commit f3274f5

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Thu Aug 21 01:44:46 2014 Tanaka Akira <[email protected]>
2+
3+
* gc.c (mark_current_machine_context): Call SET_STACK_END.
4+
This reverts a hunk of r40703 by ko1.
5+
This fixes [ruby-dev:48098] [Bug #9717].
6+
17
Thu Aug 21 01:41:09 2014 Tanaka Akira <[email protected]>
28

39
* lib/time.rb (Time.parse): [DOC] Fix an example in the documentation

gc.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3478,6 +3478,10 @@ mark_current_machine_context(rb_objspace_t *objspace, rb_thread_t *th)
34783478
/* This assumes that all registers are saved into the jmp_buf (and stack) */
34793479
rb_setjmp(save_regs_gc_mark.j);
34803480

3481+
/* SET_STACK_END must be called in this function because
3482+
* the stack frame of this function may contain
3483+
* callee save registers and they should be marked. */
3484+
SET_STACK_END;
34813485
GET_STACK_BOUNDS(stack_start, stack_end, 1);
34823486

34833487
mark_locations_array(objspace, save_regs_gc_mark.v, numberof(save_regs_gc_mark.v));

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#define RUBY_VERSION "2.1.2"
22
#define RUBY_RELEASE_DATE "2014-08-21"
3-
#define RUBY_PATCHLEVEL 204
3+
#define RUBY_PATCHLEVEL 205
44

55
#define RUBY_RELEASE_YEAR 2014
66
#define RUBY_RELEASE_MONTH 8

0 commit comments

Comments
 (0)