add allocation profiling branch
Merge pull request #470 from mirage/master

add mshinwell's allocation profiling branch