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

Issue 670973002: Avoid races in capacity accounting. (Closed)

Created:
6 years, 2 months ago by koda
Modified:
6 years, 2 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Avoid races in capacity accounting. Use pages_lock_ to sync access to usage_.capacity_in_words. Also remove ASSERT no longer valid with concurrent sweep. This does not resolve the more general issue of the growth policy not being perpared for concurrent sweeping. BUG=21363 R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=41251

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -17 lines) Patch
M runtime/vm/pages.h View 3 chunks +19 lines, -2 lines 0 comments Download
M runtime/vm/pages.cc View 13 chunks +16 lines, -15 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
koda
6 years, 2 months ago (2014-10-22 16:37:27 UTC) #1
Ivan Posva
LGTM -ip
6 years, 2 months ago (2014-10-22 17:41:42 UTC) #2
koda
6 years, 2 months ago (2014-10-22 20:41:47 UTC) #3
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as r41251 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698