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

Issue 2916173002: Avoid allocating a whole new page for two one-element arrays when finalizing the VM isolate. (Closed)

Created:
3 years, 6 months ago by rmacnak
Modified:
3 years, 6 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org, erikcorry
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Avoid allocating a whole new page for two one-element arrays when finalizing the VM isolate. Flush the bump allocation block to the free list after deserializing the VM isolate's snapshot, making this memory available to Array::New(n, Heap::kOld). R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/139cf6a8c177a075da4afff6388bd2822a1169d9

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M runtime/vm/clustered_snapshot.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/pages.h View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
rmacnak
vm isolate heap.old.capacity 1.543 MB (1617920 B) => heap.old.capacity 1.293 MB (1355776 B)
3 years, 6 months ago (2017-06-01 21:37:58 UTC) #2
siva
lgtm
3 years, 6 months ago (2017-06-01 21:54:28 UTC) #3
rmacnak
3 years, 6 months ago (2017-06-01 22:51:38 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
139cf6a8c177a075da4afff6388bd2822a1169d9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698