add allocation profiling branch