Skip to content

Commit

Permalink
mark gc_heap_snapshot_record_root as JL_NOTSAFEPOINT
Browse files Browse the repository at this point in the history
  • Loading branch information
vilterp committed Sep 23, 2021
1 parent 91731e9 commit d4cf50f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gc-heap-snapshot.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void _gc_heap_snapshot_record_hidden_edge(jl_value_t *from, size_t bytes) JL_NOT

extern int gc_heap_snapshot_enabled;

static inline void gc_heap_snapshot_record_root(jl_value_t *root) {
static inline void gc_heap_snapshot_record_root(jl_value_t *root) JL_NOTSAFEPOINT {
if (__unlikely(gc_heap_snapshot_enabled)) {
_gc_heap_snapshot_record_root(root);
}
Expand Down

0 comments on commit d4cf50f

Please sign in to comment.