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

Issue 1071393003: Before write-protecting a PageSpace, return bump allocation block to freelist. (Closed)

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

Description

Before write-protecting a PageSpace, return bump allocation block to freelist. This fixes a potential issue where attempts to iterate over a write-protected heap might try to ensure it's walkable by writing a header into the bump block. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=45173

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -3 lines) Patch
M runtime/vm/heap_test.cc View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M runtime/vm/pages.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/pages.cc View 1 2 3 4 3 chunks +14 lines, -3 lines 2 comments Download

Messages

Total messages: 5 (0 generated)
koda
5 years, 8 months ago (2015-04-15 01:15:15 UTC) #1
koda
Added regression test; ready for review.
5 years, 8 months ago (2015-04-15 01:31:59 UTC) #2
siva
lgtm https://codereview.chromium.org/1071393003/diff/120001/runtime/vm/pages.cc File runtime/vm/pages.cc (right): https://codereview.chromium.org/1071393003/diff/120001/runtime/vm/pages.cc#newcode507 runtime/vm/pages.cc:507: } Is it ok to still have bump_top_ ...
5 years, 8 months ago (2015-04-15 16:11:56 UTC) #3
koda
https://codereview.chromium.org/1071393003/diff/120001/runtime/vm/pages.cc File runtime/vm/pages.cc (right): https://codereview.chromium.org/1071393003/diff/120001/runtime/vm/pages.cc#newcode507 runtime/vm/pages.cc:507: } On 2015/04/15 16:11:56, siva wrote: > Is it ...
5 years, 8 months ago (2015-04-15 16:24:06 UTC) #4
koda
5 years, 8 months ago (2015-04-15 16:59:08 UTC) #5
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as r45173 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698