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

Issue 320463003: Make unused semispace available to other isolates. (Closed)

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

Description

Make unused semispace available to other isolates. When not scavenging, hand the unused semispace back to the system, with a one-element cache (to avoid the cost of clearing). Example memory footprint reduction: * a short-running single-isolate process that never needs a scavenge: half * VM service enabled but never used: one semi-space * N isolates with no more than M scavenging simultaneously: N-M semi-spaces R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=37100

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 13

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -49 lines) Patch
M runtime/vm/dart.cc View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/memory_region.h View 3 chunks +8 lines, -3 lines 0 comments Download
M runtime/vm/scavenger.h View 1 2 3 4 5 6 3 chunks +39 lines, -4 lines 0 comments Download
M runtime/vm/scavenger.cc View 1 2 3 4 5 7 chunks +98 lines, -42 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
koda
6 years, 6 months ago (2014-06-05 21:31:23 UTC) #1
Ivan Posva
https://codereview.chromium.org/320463003/diff/60001/runtime/vm/scavenger.cc File runtime/vm/scavenger.cc (right): https://codereview.chromium.org/320463003/diff/60001/runtime/vm/scavenger.cc#newcode351 runtime/vm/scavenger.cc:351: if (reserved == NULL || !reserved->Commit(VirtualMemory::kReadWrite)) { (reserved == ...
6 years, 6 months ago (2014-06-05 22:27:29 UTC) #2
koda
PTAL https://codereview.chromium.org/320463003/diff/60001/runtime/vm/scavenger.cc File runtime/vm/scavenger.cc (right): https://codereview.chromium.org/320463003/diff/60001/runtime/vm/scavenger.cc#newcode351 runtime/vm/scavenger.cc:351: if (reserved == NULL || !reserved->Commit(VirtualMemory::kReadWrite)) { On ...
6 years, 6 months ago (2014-06-05 23:04:23 UTC) #3
koda
https://codereview.chromium.org/320463003/diff/60001/runtime/vm/scavenger.h File runtime/vm/scavenger.h (right): https://codereview.chromium.org/320463003/diff/60001/runtime/vm/scavenger.h#newcode36 runtime/vm/scavenger.h:36: // Hand back an unused space. Safe to call ...
6 years, 6 months ago (2014-06-05 23:08:29 UTC) #4
Ivan Posva
LGTM -ip
6 years, 6 months ago (2014-06-05 23:39:00 UTC) #5
koda
6 years, 6 months ago (2014-06-06 20:20:37 UTC) #6
Message was sent while issue was closed.
Committed patchset #7 manually as r37100 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698