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

Unified Diff: runtime/vm/freelist_test.cc

Issue 2929203002: [Fuchsia] Give VMOs names (Closed)
Patch Set: Fix tests Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/heap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/freelist_test.cc
diff --git a/runtime/vm/freelist_test.cc b/runtime/vm/freelist_test.cc
index 2d0aab990d4588f037c5b2c35bca5d1eb00cbc85..4b240eb141a275fa1eb6c2b7163c9ca76eca9538 100644
--- a/runtime/vm/freelist_test.cc
+++ b/runtime/vm/freelist_test.cc
@@ -87,7 +87,7 @@ TEST_CASE(FreeList) {
FreeList* free_list = new FreeList();
const intptr_t kBlobSize = 1 * MB;
VirtualMemory* region = VirtualMemory::Reserve(kBlobSize);
- region->Commit(/* is_executable */ false);
+ region->Commit(/* is_executable */ false, NULL);
TestFreeList(region, free_list, false);
@@ -101,7 +101,7 @@ TEST_CASE(FreeListProtected) {
FreeList* free_list = new FreeList();
const intptr_t kBlobSize = 1 * MB;
VirtualMemory* region = VirtualMemory::Reserve(kBlobSize);
- region->Commit(/* is_executable */ false);
+ region->Commit(/* is_executable */ false, NULL);
TestFreeList(region, free_list, true);
@@ -119,7 +119,7 @@ TEST_CASE(FreeListProtectedTinyObjects) {
VirtualMemory* blob = VirtualMemory::Reserve(kBlobSize);
ASSERT(Utils::IsAligned(blob->start(), 4096));
- blob->Commit(/* is_executable = */ false);
+ blob->Commit(/* is_executable = */ false, NULL);
blob->Protect(VirtualMemory::kReadWrite);
// Enqueue the large blob as one free block.
@@ -160,7 +160,7 @@ TEST_CASE(FreeListProtectedVariableSizeObjects) {
VirtualMemory* blob = VirtualMemory::Reserve(kBlobSize);
ASSERT(Utils::IsAligned(blob->start(), 4096));
- blob->Commit(/* is_executable = */ false);
+ blob->Commit(/* is_executable = */ false, NULL);
blob->Protect(VirtualMemory::kReadWrite);
// Enqueue the large blob as one free block.
« no previous file with comments | « no previous file | runtime/vm/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698