More instrumentation (memory allocation, also fixes #7259)
Merge pull request #7464 from JuliaLang/teh/malloclog

More instrumentation (memory allocation, also fixes #7259)