optimized autorelease pool allocation on the stream thread