Support multiple thread in Java VectorReallocation