Skip to content

Commit

Permalink
Remove unnecessary locking of local GC in Ractor-absorption
Browse files Browse the repository at this point in the history
  • Loading branch information
rm155 committed Aug 2, 2023
1 parent 86c9bf8 commit 65b4cc2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2602,11 +2602,9 @@ close_objspace(rb_objspace_t *objspace)
free(heap_pages_sorted);
heap_pages_sorted = NULL;

lock_local_gc(objspace);
RB_VM_LOCK();
ccan_list_del(&objspace->objspace_node);
RB_VM_UNLOCK();
unlock_local_gc(objspace);
rb_objspace_free(objspace);
}

Expand Down

0 comments on commit 65b4cc2

Please sign in to comment.