scala/scala — pull request #770 by odersky (2012-06-25 20:53:34+00:00)
Title: Statistics improvements and bug fixes.

Added compile-time option hotEnabled to Statistics that can be used to count very high frequency methods with 0 overhead for the disabled case. Fixed problem with weak maps that caused some timers to be discarded prematurely before they could be printed. Fixed problem with accounting for stacked timers.