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

Unified Diff: src/compiler/zone-stats.h

Issue 2957693002: Merged changes to avoid OOM for large wasm modules. (Closed)
Patch Set: 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 | « src/compiler/wasm-compiler.cc ('k') | src/compiler/zone-stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/zone-stats.h
diff --git a/src/compiler/zone-stats.h b/src/compiler/zone-stats.h
index 39adca369320de4df337146464675cbdaba58fe7..6e0cd5fe4e9f49d7e069a796738d930240a7d813 100644
--- a/src/compiler/zone-stats.h
+++ b/src/compiler/zone-stats.h
@@ -66,9 +66,9 @@ class V8_EXPORT_PRIVATE ZoneStats final {
explicit ZoneStats(AccountingAllocator* allocator);
~ZoneStats();
- size_t GetMaxAllocatedBytes();
- size_t GetTotalAllocatedBytes();
- size_t GetCurrentAllocatedBytes();
+ size_t GetMaxAllocatedBytes() const;
+ size_t GetTotalAllocatedBytes() const;
+ size_t GetCurrentAllocatedBytes() const;
private:
Zone* NewEmptyZone(const char* zone_name);
« no previous file with comments | « src/compiler/wasm-compiler.cc ('k') | src/compiler/zone-stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698