CS520
Spring 2013
Laboratory 7
Friday March 22
The lab must be submitted prior to 8am on Saturday March 23.


The goal for this lab is to continue working on Program 3 by implementing the heap and frame functions. This requires that you have completed Lab 6 by implementing initializeVM to read the class file into memory and implementing the functions for retrieving information from the class file. Points will be awarded in the following way:

  1. (40 points) Each of the 8 functions for supporting the heap will be worth 5 points.
  2. (60 points) Each of the 15 functions for supporting frames will be worth 4 points.
You can do your initial testing for this lab using the main programs: ~cs520/public/prog3/src/heapTest.c and ~cs520/public/prog3/src/frameTest.c. (Important: do not add any code to these files. All your code must be in either heap.c or frame.c.) Be sure to consider whether these tests are sufficient. You may need to do additional tests.

Turn in this laboratory by typing:

% ~cs520/bin/submit lab7 vm.c class.c heap.c frame.c

Submissions can be checked by typing:

% ~cs520/bin/scheck lab7

Remember that there are no late submissions of labs. Submit what you have prior to 8am on Saturday March 23.


Last modified on February 23, 2013.

Comments and questions should be directed to hatcher@unh.edu