int[] tmp1 = MM_Interface.newContiguousIntArray(memberOffsets.length*2); System.arraycopy(memberOffsets, 0, tmp1, 0, memberOffsets.length);
int oldLen = memberOffsets.length; int[] tmp1 = MM_Interface.newContiguousIntArray(oldLen*2); System.arraycopy(memberOffsets, 0, tmp1, 0, oldLen); if (NEEDS_DYNAMIC_LINK != 0) { java.util.Arrays.fill(tmp1, oldLen, tmp1.length, NEEDS_DYNAMIC_LINK); }
  static synchronized void ensureCapacity(int id) {    if (id == memberOffsets.length) {      int[] tmp1 = MM_Interface.newContiguousIntArray(memberOffsets.length*2);      System.arraycopy(memberOffsets, 0, tmp1, 0, memberOffsets.length);      VM_Magic.sync(); // be sure array initialization is visible before we publish the reference!      memberOffsets = tmp1;    }  }