public final void grow(int wantedSize) {
		if (written)
			throw new IllegalStateException("adding to written ConstantPool");
		if (tags.length < wantedSize) {
			int newSize = Math.max(tags.length * 2, wantedSize);
			int[] tmpints = new int[newSize];
			System.arraycopy(tags, 0, tmpints, 0, count);
			tags = tmpints;
			tmpints = new int[newSize];
			System.arraycopy(indices1, 0, tmpints, 0, count);
			indices1 = tmpints;
			tmpints = new int[newSize];
			System.arraycopy(indices2, 0, tmpints, 0, count);
			indices2 = tmpints;
			Object[] tmpobjs = new Object[newSize];
			System.arraycopy(constants, 0, tmpobjs, 0, count);
			constants = tmpobjs;
		}
	}