Commit b7e15d17 authored by Daniel Gröber (dxld)'s avatar Daniel Gröber (dxld)

rts: retainer: Rename heap traversal functions for extraction

This gets all remaining functions in-line with the new 'traverse' prefix
and module name.
parent ec1d76e2
This diff is collapsed.
......@@ -18,7 +18,7 @@
void initRetainerProfiling ( void );
void endRetainerProfiling ( void );
void retainerProfile ( void );
void resetStaticObjectForRetainerProfiling( StgClosure *static_objects );
void resetStaticObjectForProfiling( StgClosure *static_objects );
/* See Note [Profiling heap traversal visited bit]. */
extern StgWord flip;
......@@ -39,8 +39,8 @@ retainerSetOf( const StgClosure *c )
return (RetainerSet *)((StgWord)RSET(c) ^ flip);
}
// Used by Storage.c:memInventory()
extern W_ retainerStackBlocks ( void );
// Used by GC.c
W_ retainerStackBlocks(void);
#include "EndPrivate.h"
......
......@@ -752,11 +752,11 @@ GarbageCollect (uint32_t collect_gen,
}
#if defined(PROFILING)
// resetStaticObjectForRetainerProfiling() must be called before
// resetStaticObjectForProfiling() must be called before
// zeroing below.
// ToDo: fix the gct->scavenged_static_objects below
resetStaticObjectForRetainerProfiling(gct->scavenged_static_objects);
resetStaticObjectForProfiling(gct->scavenged_static_objects);
#endif
// Start any pending finalizers. Must be after
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment