Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling of GC_gc_no counter wrap in GC_notify_or_invoke_finalizers
(a cherry-pick of commits 6594e9a, fa19ed0 from 'master') * finalize.c [KEEP_BACK_PTRS] (GC_notify_or_invoke_finalizers): Compare GC_gc_no and last_back_trace_gc_no values using inequality operator (instead of greater-than); define bt_in_progress static variable; if bt_in_progress then do not do print any backtraces, else set bt_in_progress (instead of setting last_back_trace_gc_no to GC_WORD_MAX) while printing the backtraces; remove comment about wrap of GC_gc_no counter.
- Loading branch information