DescriptionVM: Only update hash table stats when needed for printing.
The counters for growing and collisions are not needed otherwise.
This avoid data races on concurrent reads (which would previously
update the counters, even if reporting is disabled)
BUG=
R=rmacnak@google.com
Committed: https://github.com/dart-lang/sdk/commit/017257a64f4c250bcc4cb9cb7c98b56e0902fb84
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|