public static void scanStatics (AddressDequeue rootLocations) throws VM_PragmaUninterruptible {
public static void scanStatics (AddressDeque rootLocations) throws VM_PragmaUninterruptible {
  public static void scanStatics (AddressDequeue rootLocations) throws VM_PragmaUninterruptible {    int numSlots = VM_Statics.getNumberOfSlots();    VM_Address slots = VM_Statics.getSlots();    int chunkSize = 512;    int slot, start, end, stride, slotAddress;    VM_CollectorThread ct;    stride = chunkSize * VM_CollectorThread.numCollectors();    ct = VM_Magic.threadAsCollectorThread(VM_Thread.getCurrentThread());    start = (ct.getGCOrdinal() - 1) * chunkSize;    while ( start < numSlots ) {      end = start + chunkSize;      if (end > numSlots)	end = numSlots;  // doing last segment of JTOC      for ( slot=start; slot<end; slot++ ) {	if ( ! VM_Statics.isReference(slot) ) continue;	// slot contains a ref of some kind.  call collector specific	// processPointerField, passing address of reference	//	rootLocations.push(slots.add(slot << LOG_BYTES_IN_INT));      }  // end of for loop      start = start + stride;    }  // end of while loop  }  // scanStatics