Commit 263174af authored by Rodrigo Bruno's avatar Rodrigo Bruno Committed by Commit Bot

[heap] Fixed typo in method name.

Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
Change-Id: Id2b474917ffd711ed30b9ae5f25ec86e13b140b5
Reviewed-on: https://chromium-review.googlesource.com/1193876Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
Commit-Queue: Rodrigo Bruno <rfbpb@google.com>
Cr-Commit-Position: refs/heads/master@{#55487}
parent b477a6d5
...@@ -8360,7 +8360,7 @@ void Isolate::GetHeapStatistics(HeapStatistics* heap_statistics) { ...@@ -8360,7 +8360,7 @@ void Isolate::GetHeapStatistics(HeapStatistics* heap_statistics) {
isolate->allocator()->GetCurrentMemoryUsage() + isolate->allocator()->GetCurrentMemoryUsage() +
isolate->wasm_engine()->allocator()->GetCurrentMemoryUsage(); isolate->wasm_engine()->allocator()->GetCurrentMemoryUsage();
heap_statistics->external_memory_ = isolate->heap()->external_memory() + heap_statistics->external_memory_ = isolate->heap()->external_memory() +
isolate->heap()->backing_story_bytes(); isolate->heap()->backing_store_bytes();
heap_statistics->peak_malloced_memory_ = heap_statistics->peak_malloced_memory_ =
isolate->allocator()->GetMaxMemoryUsage() + isolate->allocator()->GetMaxMemoryUsage() +
isolate->wasm_engine()->allocator()->GetMaxMemoryUsage(); isolate->wasm_engine()->allocator()->GetMaxMemoryUsage();
......
...@@ -680,7 +680,7 @@ class Heap { ...@@ -680,7 +680,7 @@ class Heap {
int64_t external_memory_hard_limit() { return MaxOldGenerationSize() / 2; } int64_t external_memory_hard_limit() { return MaxOldGenerationSize() / 2; }
int64_t external_memory() { return external_memory_; } int64_t external_memory() { return external_memory_; }
int64_t backing_story_bytes() const { return backing_store_bytes_; } int64_t backing_store_bytes() const { return backing_store_bytes_; }
void update_backing_store_bytes(int64_t amount); void update_backing_store_bytes(int64_t amount);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment