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

Issue 355123002: If a large object is truncated, also truncate the page. (Closed)

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

Description

If a large object is truncated, also truncate the page. If GC sweeper finds a truncated large object, the page is shrunk to fit. Allows reclaiming memory when a large string is externalized. R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=37842

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -11 lines) Patch
M runtime/vm/gc_sweeper.h View 1 2 1 chunk +3 lines, -1 line 2 comments Download
M runtime/vm/gc_sweeper.cc View 1 2 2 chunks +4 lines, -4 lines 2 comments Download
M runtime/vm/object_test.cc View 1 chunk +7 lines, -1 line 0 comments Download
M runtime/vm/pages.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/pages.cc View 1 2 2 chunks +23 lines, -4 lines 2 comments Download
M runtime/vm/virtual_memory.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
koda
6 years, 5 months ago (2014-06-27 14:06:02 UTC) #1
Ivan Posva
LGTM once we use size in words. Thanks, -Ivan https://codereview.chromium.org/355123002/diff/40001/runtime/vm/gc_sweeper.cc File runtime/vm/gc_sweeper.cc (right): https://codereview.chromium.org/355123002/diff/40001/runtime/vm/gc_sweeper.cc#newcode64 runtime/vm/gc_sweeper.cc:64: ...
6 years, 5 months ago (2014-06-30 05:51:05 UTC) #2
koda
https://codereview.chromium.org/355123002/diff/40001/runtime/vm/gc_sweeper.cc File runtime/vm/gc_sweeper.cc (right): https://codereview.chromium.org/355123002/diff/40001/runtime/vm/gc_sweeper.cc#newcode64 runtime/vm/gc_sweeper.cc:64: bytes_to_end += raw_obj->Size(); On 2014/06/30 05:51:05, Ivan Posva wrote: ...
6 years, 5 months ago (2014-06-30 22:57:49 UTC) #3
koda
6 years, 5 months ago (2014-06-30 22:59:13 UTC) #4
Message was sent while issue was closed.
Committed patchset #3 manually as r37842 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698