public final static int handinRefs(Object[] objs) {
public final static int handinRefs(Object[] objs) throws VM_PragmaInterruptible {
  public final static int handinRefs(Object[] objs) {        int n = refs.length;    for (int i=0; i<n; i++) {      if (refs[i] == null) {	refs[i] = objs;	return i;      }    }    // grow the array    Object[][] newRefs = new Object[2*n][];    System.arraycopy(refs, 0, newRefs, 0, n);    newRefs[n] = objs;    refs = newRefs;	    return n;  }