Skip to content

Commit 8a7d8f4

Browse files
authored
fix stale docstring in gc_sweep_page (#54743)
1 parent 77c28ab commit 8a7d8f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1432,7 +1432,8 @@ STATIC_INLINE void gc_dump_page_utilization_data(void) JL_NOTSAFEPOINT
14321432

14331433
int64_t buffered_pages = 0;
14341434

1435-
// Returns pointer to terminal pointer of list rooted at *pfl.
1435+
// Walks over a page, reconstruting the free lists if the page contains at least one live object. If not,
1436+
// queues up the page for later decommit (i.e. through `madvise` on Unix).
14361437
static void gc_sweep_page(gc_page_profiler_serializer_t *s, jl_gc_pool_t *p, jl_gc_page_stack_t *allocd, jl_gc_page_stack_t *buffered,
14371438
jl_gc_pagemeta_t *pg, int osize) JL_NOTSAFEPOINT
14381439
{

0 commit comments

Comments
 (0)