mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
gc.c: disable gc_rest after finalization
* gc.c (rb_objspace_call_finalizer): disable provisionally gc_rest as it breaks RVALUE consistency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
67e5129a3a
commit
f16b6fc5ab
1 changed files with 2 additions and 0 deletions
2
gc.c
2
gc.c
|
@ -2624,11 +2624,13 @@ rb_objspace_call_finalizer(rb_objspace_t *objspace)
|
||||||
finalizer_table = 0;
|
finalizer_table = 0;
|
||||||
ATOMIC_SET(finalizing, 0);
|
ATOMIC_SET(finalizing, 0);
|
||||||
|
|
||||||
|
#if 0
|
||||||
/*
|
/*
|
||||||
* finish any lazy sweeps that may have been started
|
* finish any lazy sweeps that may have been started
|
||||||
* when finalizing the objects in the heap
|
* when finalizing the objects in the heap
|
||||||
*/
|
*/
|
||||||
gc_rest(objspace);
|
gc_rest(objspace);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int
|
static inline int
|
||||||
|
|
Loading…
Reference in a new issue