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

Unified Diff: src/heap/spaces.h

Issue 2488403003: Add v8_os_page_size flag for cross compilation (Closed)
Patch Set: merge with master Created 4 years, 1 month 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 | « src/flag-definitions.h ('k') | src/heap/spaces.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/spaces.h
diff --git a/src/heap/spaces.h b/src/heap/spaces.h
index ef9a455e868de87d3362fe54a3ec9d18360b97a8..f5701adc69edc2a80cee6125e1eb780516e0fddb 100644
--- a/src/heap/spaces.h
+++ b/src/heap/spaces.h
@@ -1090,7 +1090,7 @@ class SkipList {
// ----------------------------------------------------------------------------
// A space acquires chunks of memory from the operating system. The memory
-// allocator allocated and deallocates pages for the paged heap spaces and large
+// allocator allocates and deallocates pages for the paged heap spaces and large
// pages for large object space.
class MemoryAllocator {
public:
@@ -1209,6 +1209,8 @@ class MemoryAllocator {
: Page::kAllocatableMemory;
}
+ static intptr_t GetCommitPageSize();
+
explicit MemoryAllocator(Isolate* isolate);
// Initializes its internal bookkeeping structures.
« no previous file with comments | « src/flag-definitions.h ('k') | src/heap/spaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698