1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* gc.c (rb_gcdebug_print_obj_condition): use RVALUE_REMEMBERED

because GET_HEAP_REMEMBERSET_BITS is obsoleted.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ktsj 2014-09-28 15:09:40 +00:00
parent 1c01280d17
commit 90e99bea86
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sun Sep 28 23:59:17 2014 Kazuki Tsujimoto <kazuki@callcc.net>
* gc.c (rb_gcdebug_print_obj_condition): use RVALUE_REMEMBERED
because GET_HEAP_REMEMBERSET_BITS is obsoleted.
Sun Sep 28 11:14:14 2014 Martin Duerst <duerst@it.aoyama.ac.jp>
* common.mk: Created new target update-unicode to download

2
gc.c
View file

@ -8452,7 +8452,7 @@ rb_gcdebug_print_obj_condition(VALUE obj)
fprintf(stderr, "age? : %d\n", RVALUE_AGE(obj));
fprintf(stderr, "old? : %s\n", RVALUE_OLD_P(obj) ? "true" : "false");
fprintf(stderr, "WB-protected?: %s\n", RVALUE_WB_UNPROTECTED(obj) ? "false" : "true");
fprintf(stderr, "remembered? : %s\n", MARKED_IN_BITMAP(GET_HEAP_REMEMBERSET_BITS(obj), obj) ? "true" : "false");
fprintf(stderr, "remembered? : %s\n", RVALUE_REMEMBERED(obj) ? "true" : "false");
#endif
if (is_lazy_sweeping(heap_eden)) {