-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This addresses a problem where the Julia GC during a partial sweep frees some, but not all objects of an unreachable data structure. If an address to a remaining object of such a data structure is still randomly hit during conservative stack scanning, it may erroneously try to mark the deallocated objects, too. This temporary fix works by validating each pointer before it is marked. Because this is potentially expensive, the eventual solution should fix the root cause, which is conservative stack scanning resurrecting pointers to dead objects that have been freed during a partial collection.
- Loading branch information
Showing
1 changed file
with
57 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters