Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Issue 2575913002: VM: Only update hash table stats when needed for printing. (Closed)

Created:
4 years ago by Florian Schneider
Modified:
4 years ago
Reviewers:
rmacnak
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

VM: 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -10 lines) Patch
M runtime/vm/hash_table.h View 1 chunk +16 lines, -10 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
Florian Schneider
4 years ago (2016-12-14 17:51:49 UTC) #2
rmacnak
lgtm
4 years ago (2016-12-14 18:30:50 UTC) #3
Florian Schneider
4 years ago (2016-12-14 18:34:18 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
017257a64f4c250bcc4cb9cb7c98b56e0902fb84 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698