[heap] Fix typo

PrintAlloctionsHash -> PrintAllocationsHash

R=mlippautz@chromium.org

Change-Id: I3b5067d5ea2ef1f4250e384b233cc4a85d8509c1
Reviewed-on: https://chromium-review.googlesource.com/512723
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45490}
This commit is contained in:
Clemens Hammacher 2017-05-23 15:04:22 +02:00 committed by Commit Bot
parent aca3c14f15
commit 6128f2cf59
3 changed files with 5 additions and 5 deletions

View File

@ -367,7 +367,7 @@ void Heap::OnAllocationEvent(HeapObject* object, int size_in_bytes) {
UpdateAllocationsHash(size_in_bytes);
if (allocations_count_ % FLAG_dump_allocations_digest_at_alloc == 0) {
PrintAlloctionsHash();
PrintAllocationsHash();
}
}
@ -402,7 +402,7 @@ void Heap::OnMoveEvent(HeapObject* target, HeapObject* source,
UpdateAllocationsHash(size_in_bytes);
if (allocations_count_ % FLAG_dump_allocations_digest_at_alloc == 0) {
PrintAlloctionsHash();
PrintAllocationsHash();
}
}
}

View File

@ -5746,7 +5746,7 @@ void Heap::ClearStackLimits() {
roots_[kRealStackLimitRootIndex] = Smi::kZero;
}
void Heap::PrintAlloctionsHash() {
void Heap::PrintAllocationsHash() {
uint32_t hash = StringHasher::GetHashCore(raw_allocations_hash_);
PrintF("\n### Allocations = %u, hash = 0x%08x\n", allocations_count(), hash);
}
@ -5810,7 +5810,7 @@ void Heap::TearDown() {
UpdateMaximumCommitted();
if (FLAG_verify_predictable) {
PrintAlloctionsHash();
PrintAllocationsHash();
}
new_space()->RemoveAllocationObserver(idle_scavenge_observer_);

View File

@ -1773,7 +1773,7 @@ class Heap {
inline void UpdateAllocationsHash(HeapObject* object);
inline void UpdateAllocationsHash(uint32_t value);
void PrintAlloctionsHash();
void PrintAllocationsHash();
void AddToRingBuffer(const char* string);
void GetFromRingBuffer(char* buffer);