We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d28a43 commit b4c9e42Copy full SHA for b4c9e42
src/gc.c
@@ -4072,8 +4072,9 @@ JL_DLLEXPORT jl_value_t *jl_gc_internal_obj_base_ptr(void *p)
4072
if (gc_page_data(cell) == gc_page_data(pool->freelist)
4073
&& (char *)cell < (char *)pool->freelist)
4074
goto valid_object;
4075
- else
4076
- return NULL;
+ // already skipped marked or old objects above, so here
+ // the age bits are 0, thus the object is on the freelist
4077
+ return NULL;
4078
// Not a freelist entry, therefore a valid object.
4079
valid_object:
4080
// We have to treat objects with type `jl_buff_tag` differently,
0 commit comments