Commit 6128f2cf authored by Clemens Hammacher's avatar Clemens Hammacher Committed by Commit Bot

[heap] Fix typo

PrintAlloctionsHash -> PrintAllocationsHash

R=mlippautz@chromium.org

Change-Id: I3b5067d5ea2ef1f4250e384b233cc4a85d8509c1
Reviewed-on: https://chromium-review.googlesource.com/512723Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45490}
parent aca3c14f
......@@ -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();
}
}
}
......
......@@ -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_);
......
......@@ -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);
......
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