initial import of allocation profiling patch II