[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:
parent
aca3c14f15
commit
6128f2cf59
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user