mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* include/ruby/ruby.h: enable RGENGC (USE_RGENGC)
but no type creates write protected (sunny) objects (RGENGC_WB_PROTECTED_* == 0). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4f401816ff
commit
9b6b3672cc
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Tue May 14 03:10:59 2013 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* include/ruby/ruby.h: enable RGENGC (USE_RGENGC)
|
||||||
|
but no type creates write protected (sunny) objects
|
||||||
|
(RGENGC_WB_PROTECTED_* == 0).
|
||||||
|
|
||||||
Tue May 14 02:47:30 2013 Koichi Sasada <ko1@atdot.net>
|
Tue May 14 02:47:30 2013 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* gc.c: support RGENGC. [ruby-trunk - Feature #8339]
|
* gc.c: support RGENGC. [ruby-trunk - Feature #8339]
|
||||||
|
|
|
@ -682,7 +682,7 @@ VALUE rb_obj_setup(VALUE obj, VALUE klass, VALUE type);
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#ifndef USE_RGENGC
|
#ifndef USE_RGENGC
|
||||||
#define USE_RGENGC 0
|
#define USE_RGENGC 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef RGENGC_WB_PROTECTED_ARRAY
|
#ifndef RGENGC_WB_PROTECTED_ARRAY
|
||||||
|
|
Loading…
Add table
Reference in a new issue