* gc.c (rb_gcdebug_print_obj_condition): catch up recent changes
to compile on GC_DEBUG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b050cc5ab9
commit
711a069e0f
@ -1,3 +1,8 @@
|
|||||||
|
Sun Nov 10 23:47:05 2013 Kazuki Tsujimoto <kazuki@callcc.net>
|
||||||
|
|
||||||
|
* gc.c (rb_gcdebug_print_obj_condition): catch up recent changes
|
||||||
|
to compile on GC_DEBUG.
|
||||||
|
|
||||||
Sun Nov 10 22:16:19 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sun Nov 10 22:16:19 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* error.c (exc_cause): captured previous exception.
|
* error.c (exc_cause): captured previous exception.
|
||||||
|
2
gc.c
2
gc.c
@ -6706,7 +6706,7 @@ rb_gcdebug_print_obj_condition(VALUE obj)
|
|||||||
#if RGENGC_THREEGEN
|
#if RGENGC_THREEGEN
|
||||||
fprintf(stderr, "young? : %s\n", RVALUE_YOUNG_P(obj) ? "true" : "false");
|
fprintf(stderr, "young? : %s\n", RVALUE_YOUNG_P(obj) ? "true" : "false");
|
||||||
#endif
|
#endif
|
||||||
fprintf(stderr, "old? : %s\n", RVALUE_OLDGEN_P(obj) ? "true" : "false");
|
fprintf(stderr, "old? : %s\n", RVALUE_OLD_P(obj) ? "true" : "false");
|
||||||
fprintf(stderr, "shady? : %s\n", RVALUE_SHADY(obj) ? "true" : "false");
|
fprintf(stderr, "shady? : %s\n", RVALUE_SHADY(obj) ? "true" : "false");
|
||||||
fprintf(stderr, "remembered?: %s\n", MARKED_IN_BITMAP(GET_HEAP_REMEMBERSET_BITS(obj), obj) ? "true" : "false");
|
fprintf(stderr, "remembered?: %s\n", MARKED_IN_BITMAP(GET_HEAP_REMEMBERSET_BITS(obj), obj) ? "true" : "false");
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user