diff options
author | Simon Marlow <marlowsd@gmail.com> | 2015-07-27 15:51:16 +0100 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2015-07-27 15:51:16 +0100 |
commit | a1e8620fa2840f1f18297d784a2d2b174b27f566 (patch) | |
tree | 3ec13231ba0da90ea0abb8fcc9196eba7a4c012b /rts/sm/GCThread.h | |
parent | 09925c364c3fb7d3e8610f8c3ae26238d2941fc0 (diff) | |
download | haskell-a1e8620fa2840f1f18297d784a2d2b174b27f566.tar.gz |
Revert "Eliminate zero_static_objects_list()"
This reverts commit b949c96b4960168a3b399fe14485b24a2167b982.
Diffstat (limited to 'rts/sm/GCThread.h')
-rw-r--r-- | rts/sm/GCThread.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/rts/sm/GCThread.h b/rts/sm/GCThread.h index d42b89f973..cbe4346afe 100644 --- a/rts/sm/GCThread.h +++ b/rts/sm/GCThread.h @@ -131,11 +131,8 @@ typedef struct gc_thread_ { // during GC without accessing the block // allocators spin lock. - // These two lists are chained through the STATIC_LINK() fields of static - // objects. Pointers are tagged with the current static_flag, so before - // following a pointer, untag it with UNTAG_STATIC_LIST_PTR(). - StgClosure* static_objects; // live static objects - StgClosure* scavenged_static_objects; // static objects scavenged so far + StgClosure* static_objects; // live static objects + StgClosure* scavenged_static_objects; // static objects scavenged so far W_ gc_count; // number of GCs this thread has done |