* gc.c (rb_gc_call_finalizer_at_exit): add
gc_verify_internal_consistency() when RGENGC_CHECK_MODE >= 2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2e437f8b45
commit
75604b077e
@ -1,3 +1,8 @@
|
|||||||
|
Tue Jun 3 18:01:27 2014 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* gc.c (rb_gc_call_finalizer_at_exit): add
|
||||||
|
gc_verify_internal_consistency() when RGENGC_CHECK_MODE >= 2.
|
||||||
|
|
||||||
Tue Jun 3 17:54:21 2014 Koichi Sasada <ko1@atdot.net>
|
Tue Jun 3 17:54:21 2014 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* gc.c: change the counting method for young objects.
|
* gc.c: change the counting method for young objects.
|
||||||
|
3
gc.c
3
gc.c
@ -2208,6 +2208,9 @@ force_chain_object(st_data_t key, st_data_t val, st_data_t arg)
|
|||||||
void
|
void
|
||||||
rb_gc_call_finalizer_at_exit(void)
|
rb_gc_call_finalizer_at_exit(void)
|
||||||
{
|
{
|
||||||
|
#if RGENGC_CHECK_MODE >= 2
|
||||||
|
gc_verify_internal_consistency(Qnil);
|
||||||
|
#endif
|
||||||
rb_objspace_call_finalizer(&rb_objspace);
|
rb_objspace_call_finalizer(&rb_objspace);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user