Skip to content

Commit 25eefda

Browse files
Diogo NettoDiogo Netto
authored andcommitted
added docstring
1 parent 40f0927 commit 25eefda

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ STATIC_INLINE void gc_queue_big_marked(jl_ptls_t ptls, bigval_t *hdr,
777777
ptls->gc_cache.nbig_obj = nobj + 1;
778778
}
779779

780-
// TODO: write docstring
780+
// Atomically set the mark bit for object and return whether it was previously unmarked
781781
FORCE_INLINE int gc_try_setmark_tag(jl_taggedvalue_t *o, uint8_t mark_mode) JL_NOTSAFEPOINT
782782
{
783783
assert(gc_marked(mark_mode));

0 commit comments

Comments
 (0)