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

Issue 1173043002: Reuse empty StoreBufferBlocks. (Closed)

Created:
5 years, 6 months ago by koda
Modified:
5 years, 6 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Reuse empty StoreBufferBlocks. Keep cache of empty blocks shared among all isolates, limited in size. Change overflow threshold check to include partially filled blocks. Make Isolate::store_buffer_ a pointer, now that it's less frequently accessed, to keep the offsets of other fields small BUG= R=iposva@google.com Committed: https://github.com/dart-lang/sdk/commit/8b4ac450381bfb02727b35a368b0e4c032bd0c9c

Patch Set 1 #

Patch Set 2 : Add assertion. #

Patch Set 3 : Fix isolate. #

Patch Set 4 : Simplify consumption of a block #

Patch Set 5 : Reset #

Total comments: 15

Patch Set 6 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -40 lines) Patch
M runtime/vm/dart.cc View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/isolate.h View 4 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/isolate.cc View 3 chunks +3 lines, -1 line 0 comments Download
M runtime/vm/scavenger.cc View 1 2 3 4 1 chunk +4 lines, -3 lines 0 comments Download
M runtime/vm/store_buffer.h View 1 2 3 4 5 5 chunks +26 lines, -11 lines 0 comments Download
M runtime/vm/store_buffer.cc View 1 2 3 4 5 4 chunks +70 lines, -20 lines 0 comments Download
M runtime/vm/thread.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
koda
5 years, 6 months ago (2015-06-10 13:37:15 UTC) #2
Ivan Posva
https://codereview.chromium.org/1173043002/diff/80001/runtime/vm/isolate.h File runtime/vm/isolate.h (right): https://codereview.chromium.org/1173043002/diff/80001/runtime/vm/isolate.h#newcode725 runtime/vm/isolate.h:725: StoreBuffer* store_buffer_; I don't see the reason why this ...
5 years, 6 months ago (2015-06-16 21:48:20 UTC) #3
koda
PTAL https://codereview.chromium.org/1173043002/diff/80001/runtime/vm/isolate.h File runtime/vm/isolate.h (right): https://codereview.chromium.org/1173043002/diff/80001/runtime/vm/isolate.h#newcode725 runtime/vm/isolate.h:725: StoreBuffer* store_buffer_; On 2015/06/16 21:48:19, Ivan Posva wrote: ...
5 years, 6 months ago (2015-06-18 17:40:23 UTC) #4
Ivan Posva
LGTM -ip https://codereview.chromium.org/1173043002/diff/80001/runtime/vm/isolate.h File runtime/vm/isolate.h (right): https://codereview.chromium.org/1173043002/diff/80001/runtime/vm/isolate.h#newcode725 runtime/vm/isolate.h:725: StoreBuffer* store_buffer_; On 2015/06/18 17:40:22, koda wrote: ...
5 years, 6 months ago (2015-06-18 18:28:31 UTC) #5
koda
5 years, 6 months ago (2015-06-18 23:16:57 UTC) #6
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
8b4ac450381bfb02727b35a368b0e4c032bd0c9c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698