if (VM.VerifyAssertions) VM.assert(history[idx] == null);
if (VM.VerifyAssertions) VM._assert(history[idx] == null);
  private int[] getEntry(int cmid) {    if (cmid >= historyMap.length) {       // grow historyMap      int[] tmp = new int[(int)(VM_CompiledMethods.numCompiledMethods() * 1.25)];      for (int i=0; i< historyMap.length; i++) {	tmp[i] = historyMap[i];      }      historyMap = tmp;    }    if (historyMap[cmid] == NOT_MAPPED) {      int idx = nextEntry++;      if (idx >= history.length) {         // grow history	int[][] tmp = new int[history.length*2][];	for (int i=0; i<history.length; i++) {	  tmp[i] = history[i];	}	history = tmp;      }      if (VM.VerifyAssertions) VM.assert(history[idx] == null);      history[idx] = new int[ENTRY_IDX+numEpochs];      history[idx][CMID_IDX] = cmid;      historyMap[cmid] = idx;      return history[idx];    } else {      return history[historyMap[cmid]];    }  }