diff options
author | GHC GitLab CI <ghc-ci@gitlab-haskell.org> | 2020-10-22 16:59:11 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-11-11 03:20:35 -0500 |
commit | 7a65f9e140906087273ce95f062775f18f6a708d (patch) | |
tree | 881be7a87883ad1b49a55abbd3e2a9cdd52bfbe0 /includes | |
parent | 2782487f5f6ad9df4dc8725226a47f07fec77f9f (diff) | |
download | haskell-7a65f9e140906087273ce95f062775f18f6a708d.tar.gz |
rts: Introduce highMemDynamic
Diffstat (limited to 'includes')
-rw-r--r-- | includes/rts/storage/GC.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/rts/storage/GC.h b/includes/rts/storage/GC.h index e8dc05048a..a364682741 100644 --- a/includes/rts/storage/GC.h +++ b/includes/rts/storage/GC.h @@ -230,6 +230,10 @@ void revertCAFs (void); // (preferably use RtsConfig.keep_cafs instead) void setKeepCAFs (void); +// Let the runtime know that all the CAFs in high mem are not +// to be retained. Useful in conjunction with loadNativeObj +void setHighMemDynamic (void); + /* ----------------------------------------------------------------------------- This is the write barrier for MUT_VARs, a.k.a. IORefs. A MUT_VAR_CLEAN object is not on the mutable list; a MUT_VAR_DIRTY |