Skip to content

Commit

Permalink
Optimise list marking for GC
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoNex committed Oct 26, 2023
1 parent 9e6d16d commit 7da84ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/obj/list.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ void mark_list_obj(struct object l) {
if (l.data.list->m_parent != NULL) {
*l.data.list->m_parent = 1;
}
#pragma omp parallel for
for (uint32_t i = 0; i < l.data.list->len; i++) {
mark_obj(l.data.list->list[i]);
}
Expand Down

0 comments on commit 7da84ed

Please sign in to comment.