mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
skip assertion on multi-ractor
This assertion is not considerred on multi-ractor mdoe.
This commit is contained in:
parent
bef3eb5440
commit
8dd03e5cf0
1 changed files with 3 additions and 1 deletions
4
gc.c
4
gc.c
|
@ -7060,7 +7060,9 @@ gc_verify_internal_consistency_(rb_objspace_t *objspace)
|
|||
|
||||
/* check counters */
|
||||
|
||||
if (!is_lazy_sweeping(heap_eden) && !finalizing) {
|
||||
if (!is_lazy_sweeping(heap_eden) &&
|
||||
!finalizing &&
|
||||
ruby_single_main_ractor != NULL) {
|
||||
if (objspace_live_slots(objspace) != data.live_object_count) {
|
||||
fprintf(stderr, "heap_pages_final_slots: %"PRIdSIZE", "
|
||||
"objspace->profile.total_freed_objects: %"PRIdSIZE"\n",
|
||||
|
|
Loading…
Reference in a new issue