forked from ivmai/bdwgc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for scanning compiler thread locals
Rust's fast TLS implementation uses LLVM generated thread-locals where thread local data is stored in the PT_TLS segment [1]. To allow the BDWGC to scan this, we must locate the PT_TLS block for each thread which is suspended during GC, and then add this to the range of values which need marking.
- Loading branch information
1 parent
fa21d71
commit a6a3714
Showing
2 changed files
with
60 additions
and
0 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