projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move the scan block pointer into the gct structure
[ghc-hetmet.git]
/
rts
/
sm
/
GC.h
diff --git
a/rts/sm/GC.h
b/rts/sm/GC.h
index
0e0d90a
..
62a4872
100644
(file)
--- a/
rts/sm/GC.h
+++ b/
rts/sm/GC.h
@@
-76,9
+76,6
@@
typedef struct step_workspace_ {
step * step; // the step for this workspace
struct gc_thread_ * gct; // the gc_thread that contains this workspace
step * step; // the step for this workspace
struct gc_thread_ * gct; // the gc_thread that contains this workspace
- // block that is currently being scanned
- bdescr * scan_bd;
-
// where objects to be scavenged go
bdescr * todo_bd;
StgPtr todo_free; // free ptr for todo_bd
// where objects to be scavenged go
bdescr * todo_bd;
StgPtr todo_free; // free ptr for todo_bd
@@
-128,6
+125,9
@@
typedef struct gc_thread_ {
lnat gc_count; // number of GCs this thread has done
lnat gc_count; // number of GCs this thread has done
+ // block that is currently being scanned
+ bdescr * scan_bd;
+
// --------------------
// evacuate flags
// --------------------
// evacuate flags