profile2 contains the start for profiling dynamic types