allocate_actors_buffer
allocate_actors_buffer(params, num_actors);
ret = allocate_actors_buffer(params, ret);