Browse Source

scan/free pointer mixup, issue #173

Jeremy Siek 2 weeks ago
parent
commit
f913bbb677
1 changed files with 2 additions and 2 deletions
  1. 2 2
      book.tex

+ 2 - 2
book.tex

@@ -12748,8 +12748,8 @@ copying tuples into the ToSpace.
 Figure~\ref{fig:cheney} shows several snapshots of the ToSpace as the
 Figure~\ref{fig:cheney} shows several snapshots of the ToSpace as the
 copy progresses. The queue is represented by a chunk of contiguous
 copy progresses. The queue is represented by a chunk of contiguous
 memory at the beginning of the ToSpace, using two pointers to track
 memory at the beginning of the ToSpace, using two pointers to track
-the front and the back of the queue, called the \emph{free pointer}
-and the \emph{scan pointer}, respectively. The algorithm starts by
+the front and the back of the queue, called the \emph{scan pointer}
+and the \emph{free pointer}, respectively. The algorithm starts by
 copying all tuples that are immediately reachable from the root set
 copying all tuples that are immediately reachable from the root set
 into the ToSpace to form the initial queue.  When we copy a tuple, we
 into the ToSpace to form the initial queue.  When we copy a tuple, we
 mark the old tuple to indicate that it has been visited. We discuss
 mark the old tuple to indicate that it has been visited. We discuss