forked from racket/racket
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bc: reserve GC parking spaces for place-main thread
Don't try to park values when allocating a weak box or pair in a future thread, since that creates a race on the parking spaces. A future thread can't run a GC, so it's doesn't need to park. Touching a future in a future allocates a weak box, so this bug could have been responsible for many crahses. Related to racket#3145
- Loading branch information
Showing
2 changed files
with
24 additions
and
16 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
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