Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index c5d5159e48ad03a1df03d9227af6d5a4bef4beba..964fc81e4495c5d3fb765aebd4a66ccb92417ed4 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -1967,6 +1967,10 @@ class ScavengingVisitor : public StaticVisitorBase { |
&ObjectEvacuationStrategy<POINTER_OBJECT>:: |
Visit); |
+ table_.Register(kVisitJSWeakSet, |
+ &ObjectEvacuationStrategy<POINTER_OBJECT>:: |
+ Visit); |
+ |
table_.Register(kVisitJSArrayBuffer, |
&ObjectEvacuationStrategy<POINTER_OBJECT>:: |
Visit); |
@@ -7742,8 +7746,10 @@ GCTracer::~GCTracer() { |
PrintF("intracompaction_ptrs=%.1f ", |
scopes_[Scope::MC_UPDATE_POINTERS_BETWEEN_EVACUATED]); |
PrintF("misc_compaction=%.1f ", scopes_[Scope::MC_UPDATE_MISC_POINTERS]); |
- PrintF("weakmap_process=%.1f ", scopes_[Scope::MC_WEAKMAP_PROCESS]); |
- PrintF("weakmap_clear=%.1f ", scopes_[Scope::MC_WEAKMAP_CLEAR]); |
+ PrintF("weakcollection_process=%.1f ", |
+ scopes_[Scope::MC_WEAKCOLLECTION_PROCESS]); |
+ PrintF("weakcollection_clear=%.1f ", |
+ scopes_[Scope::MC_WEAKCOLLECTION_CLEAR]); |
PrintF("total_size_before=%" V8_PTR_PREFIX "d ", start_object_size_); |
PrintF("total_size_after=%" V8_PTR_PREFIX "d ", heap_->SizeOfObjects()); |