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

Issue 644453003: Simplify VirtualMemory by removing unused ReserveAligned method. (Closed)

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

Description

Simplify VirtualMemory by removing unused ReserveAligned method. Also add the ability to truncate without actually unmapping. Note: We never create holes in the underlying reservation. This CL is in preparation for using a thin wrapper around VirtualMemory to verify our upcoming concurrent write barrier. R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=41017

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -69 lines) Patch
M runtime/vm/freelist_test.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M runtime/vm/pages.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/virtual_memory.h View 1 2 chunks +13 lines, -17 lines 4 comments Download
M runtime/vm/virtual_memory.cc View 1 1 chunk +7 lines, -26 lines 0 comments Download
M runtime/vm/virtual_memory_android.cc View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/virtual_memory_linux.cc View 1 2 3 3 chunks +5 lines, -4 lines 0 comments Download
M runtime/vm/virtual_memory_macos.cc View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/virtual_memory_test.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M runtime/vm/virtual_memory_win.cc View 1 2 chunks +5 lines, -8 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
koda
6 years, 2 months ago (2014-10-08 23:38:13 UTC) #1
koda
For background, in the special debugging write barrier verification mode, every audited object pointer write ...
6 years, 2 months ago (2014-10-09 00:25:30 UTC) #2
Ivan Posva
LGTM -Ivan https://codereview.chromium.org/644453003/diff/80001/runtime/vm/virtual_memory.h File runtime/vm/virtual_memory.h (right): https://codereview.chromium.org/644453003/diff/80001/runtime/vm/virtual_memory.h#newcode52 runtime/vm/virtual_memory.h:52: return ReserveInternal(size); Why this extra indirection? https://codereview.chromium.org/644453003/diff/80001/runtime/vm/virtual_memory.h#newcode64 ...
6 years, 2 months ago (2014-10-09 07:01:14 UTC) #4
koda
https://codereview.chromium.org/644453003/diff/80001/runtime/vm/virtual_memory.h File runtime/vm/virtual_memory.h (right): https://codereview.chromium.org/644453003/diff/80001/runtime/vm/virtual_memory.h#newcode52 runtime/vm/virtual_memory.h:52: return ReserveInternal(size); On 2014/10/09 07:01:14, Ivan Posva wrote: > ...
6 years, 2 months ago (2014-10-09 15:58:52 UTC) #5
koda
6 years, 2 months ago (2014-10-09 15:59:35 UTC) #6
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as r41017 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698