| Index: src/heap-profiler.cc
|
| diff --git a/src/heap-profiler.cc b/src/heap-profiler.cc
|
| index 4815f8264fd0ca985c819d7cfee8b1b9423a2e08..ec078ed1f70ece6477e85efcfebf4628aa838f53 100644
|
| --- a/src/heap-profiler.cc
|
| +++ b/src/heap-profiler.cc
|
| @@ -474,7 +474,7 @@ const JSObjectsClusterTreeConfig::Value JSObjectsClusterTreeConfig::kNoValue;
|
|
|
|
|
| ConstructorHeapProfile::ConstructorHeapProfile()
|
| - : zscope_(DELETE_ON_EXIT) {
|
| + : zscope_(Isolate::Current(), DELETE_ON_EXIT) {
|
| }
|
|
|
|
|
| @@ -584,7 +584,7 @@ inline int ClustersCoarser::ClusterBackRefs::Compare(
|
|
|
|
|
| ClustersCoarser::ClustersCoarser()
|
| - : zscope_(DELETE_ON_EXIT),
|
| + : zscope_(Isolate::Current(), DELETE_ON_EXIT),
|
| sim_list_(ClustersCoarser::kInitialSimilarityListCapacity),
|
| current_pair_(NULL),
|
| current_set_(NULL),
|
| @@ -699,7 +699,7 @@ const JSObjectsRetainerTreeConfig::Value JSObjectsRetainerTreeConfig::kNoValue =
|
|
|
|
|
| RetainerHeapProfile::RetainerHeapProfile()
|
| - : zscope_(DELETE_ON_EXIT),
|
| + : zscope_(Isolate::Current(), DELETE_ON_EXIT),
|
| aggregator_(NULL) {
|
| JSObjectsCluster roots(JSObjectsCluster::ROOTS);
|
| ReferencesExtractor extractor(roots, this);
|
| @@ -1027,7 +1027,7 @@ class AggregatingRetainerTreeIterator {
|
| if (coarser_ != NULL &&
|
| !coarser_->GetCoarseEquivalent(cluster).is_null()) return;
|
| JSObjectsClusterTree* tree_to_iterate = tree;
|
| - ZoneScope zs(DELETE_ON_EXIT);
|
| + ZoneScope zs(Isolate::Current(), DELETE_ON_EXIT);
|
| JSObjectsClusterTree dest_tree_;
|
| if (coarser_ != NULL) {
|
| RetainersAggregator retainers_aggregator(coarser_, &dest_tree_);
|
|
|