This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cs330_f2016:lab14 [2016/11/15 18:47] morse |
cs330_f2016:lab14 [2016/11/15 18:54] morse |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ** This version is preliminary and subject to change until this line is removed ** | ||
====Objective:==== | ====Objective:==== | ||
Line 57: | Line 56: | ||
Continue this process until you've scanned everything that's been copied over and the scan pointer catches up with the free pointer. | Continue this process until you've scanned everything that's been copied over and the scan pointer catches up with the free pointer. | ||
+ | ---- | ||
+ | |||
+ | ====Notes:==== | ||
+ | |||
+ | - Address 0 is intentionally not used and a reference with value = 0 should be taken as a NULL pointer. | ||
+ | - Use the "Interpretation" column for your own notes, but all necessary information must be in the heap contents, not this column! | ||
---- | ---- | ||
- | ===Hints:=== | + | ====Hints:==== |
+ | |||
+ | Since both methods should result in the same set of live objects, try comparing which blocks still remain after each approach. The order in which they appear in memory will be different, but the set of live objects should be the same. | ||
+ | |||
+ | |||
+ |