Skip to content

Commit

Permalink
Revert "Allow finalized_malloc to delay reclaiming disclaimed objects"
Browse files Browse the repository at this point in the history
This functionality is deprecated in Alloy in favour of the buffered
finalization API.

This reverts commit 7767c87.
  • Loading branch information
jacob-hughes committed Aug 8, 2024
1 parent d584267 commit 23c20aa
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions fnlz_mlc.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,7 @@ STATIC int GC_CALLBACK GC_finalized_disclaim(void *obj)
GC_ASSERT(!GC_find_leak);
(*fc->proc)((word *)obj + 1, fc->cd);
}
#ifdef DISCLAIM_MARK_CHILDREN
/* Prevent the objects reachable from the disclaimed object from */
/* being reclaimed immediately by marking them as live. Useful if */
/* the disclaim function queues objects to be finalised later. */
return 1;
#else
return 0;
#endif
}

STATIC void GC_register_disclaim_proc_inner(unsigned kind,
Expand Down

0 comments on commit 23c20aa

Please sign in to comment.