summaryrefslogtreecommitdiff
path: root/rts/sm/Scav.h
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2019-05-23 13:32:42 +0300
committerBen Gamari <ben@smart-cactus.org>2019-10-22 18:56:32 -0400
commit3a862703765b578979e34332a4fadda5139544dc (patch)
tree6537b1769abc0af5b00536872e45c00c1fa36bcc /rts/sm/Scav.h
parent22eee2bcc67aab406843b12680955a6cb95470ef (diff)
downloadhaskell-3a862703765b578979e34332a4fadda5139544dc.tar.gz
rts: COMPACT_NFDATA support for the nonmoving collector
This largely follows the model used for large objects, with appropriate adjustments made to account for references in the sharing deduplication hashtable.
Diffstat (limited to 'rts/sm/Scav.h')
-rw-r--r--rts/sm/Scav.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/sm/Scav.h b/rts/sm/Scav.h
index 644aa32b8f..94250bcf7a 100644
--- a/rts/sm/Scav.h
+++ b/rts/sm/Scav.h
@@ -24,6 +24,7 @@ void scavenge_thunk_srt (const StgInfoTable *info);
StgPtr scavenge_mut_arr_ptrs (StgMutArrPtrs *a);
StgPtr scavenge_PAP (StgPAP *pap);
StgPtr scavenge_AP (StgAP *ap);
+void scavenge_compact (StgCompactNFData *str);
#if defined(THREADED_RTS)
void scavenge_loop1 (void);
@@ -35,6 +36,7 @@ void scavenge_thunk_srt1 (const StgInfoTable *info);
StgPtr scavenge_mut_arr_ptrs1 (StgMutArrPtrs *a);
StgPtr scavenge_PAP1 (StgPAP *pap);
StgPtr scavenge_AP1 (StgAP *ap);
+void scavenge_compact1 (StgCompactNFData *str);
#endif
#include "EndPrivate.h"