Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index ea25bdb69869208c12021b3c6ba1bf4e663efd56..24ba976d44f9e091845ecf66bcbaf783ae504f44 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -502,11 +502,10 @@ void Heap::RepairFreeListsAfterDeserialization() { |
} |
} |
- |
void Heap::MergeAllocationSitePretenuringFeedback( |
- const HashMap& local_pretenuring_feedback) { |
+ const base::HashMap& local_pretenuring_feedback) { |
AllocationSite* site = nullptr; |
- for (HashMap::Entry* local_entry = local_pretenuring_feedback.Start(); |
+ for (base::HashMap::Entry* local_entry = local_pretenuring_feedback.Start(); |
local_entry != nullptr; |
local_entry = local_pretenuring_feedback.Next(local_entry)) { |
site = reinterpret_cast<AllocationSite*>(local_entry->key); |
@@ -535,8 +534,8 @@ void Heap::MergeAllocationSitePretenuringFeedback( |
class Heap::PretenuringScope { |
public: |
explicit PretenuringScope(Heap* heap) : heap_(heap) { |
- heap_->global_pretenuring_feedback_ = |
- new HashMap(HashMap::PointersMatch, kInitialFeedbackCapacity); |
+ heap_->global_pretenuring_feedback_ = new base::HashMap( |
+ base::HashMap::PointersMatch, kInitialFeedbackCapacity); |
} |
~PretenuringScope() { |
@@ -562,7 +561,7 @@ void Heap::ProcessPretenuringFeedback() { |
// Step 1: Digest feedback for recorded allocation sites. |
bool maximum_size_scavenge = MaximumSizeScavenge(); |
- for (HashMap::Entry* e = global_pretenuring_feedback_->Start(); |
+ for (base::HashMap::Entry* e = global_pretenuring_feedback_->Start(); |
e != nullptr; e = global_pretenuring_feedback_->Next(e)) { |
allocation_sites++; |
site = reinterpret_cast<AllocationSite*>(e->key); |