Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: src/isolate.cc

Issue 1615173002: Revert of [profiler] Implement POC Sampling Heap Profiler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/heap/spaces.h ('k') | src/profiler/heap-profiler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/isolate.h" 5 #include "src/isolate.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 8
9 #include <fstream> // NOLINT(readability/streams) 9 #include <fstream> // NOLINT(readability/streams)
10 #include <sstream> 10 #include <sstream>
(...skipping 1901 matching lines...) Expand 10 before | Expand all | Expand 10 after
1912 bootstrapper_->TearDown(); 1912 bootstrapper_->TearDown();
1913 1913
1914 if (runtime_profiler_ != NULL) { 1914 if (runtime_profiler_ != NULL) {
1915 delete runtime_profiler_; 1915 delete runtime_profiler_;
1916 runtime_profiler_ = NULL; 1916 runtime_profiler_ = NULL;
1917 } 1917 }
1918 1918
1919 delete basic_block_profiler_; 1919 delete basic_block_profiler_;
1920 basic_block_profiler_ = NULL; 1920 basic_block_profiler_ = NULL;
1921 1921
1922 delete heap_profiler_;
1923 heap_profiler_ = NULL;
1924
1925 heap_.TearDown(); 1922 heap_.TearDown();
1926 logger_->TearDown(); 1923 logger_->TearDown();
1927 1924
1928 cancelable_task_manager()->CancelAndWait(); 1925 cancelable_task_manager()->CancelAndWait();
1929 1926
1927 delete heap_profiler_;
1928 heap_profiler_ = NULL;
1930 delete cpu_profiler_; 1929 delete cpu_profiler_;
1931 cpu_profiler_ = NULL; 1930 cpu_profiler_ = NULL;
1932 1931
1933 delete root_index_map_; 1932 delete root_index_map_;
1934 root_index_map_ = NULL; 1933 root_index_map_ = NULL;
1935 1934
1936 ClearSerializerData(); 1935 ClearSerializerData();
1937 } 1936 }
1938 1937
1939 1938
(...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after
2830 // Then check whether this scope intercepts. 2829 // Then check whether this scope intercepts.
2831 if ((flag & intercept_mask_)) { 2830 if ((flag & intercept_mask_)) {
2832 intercepted_flags_ |= flag; 2831 intercepted_flags_ |= flag;
2833 return true; 2832 return true;
2834 } 2833 }
2835 return false; 2834 return false;
2836 } 2835 }
2837 2836
2838 } // namespace internal 2837 } // namespace internal
2839 } // namespace v8 2838 } // namespace v8
OLDNEW
« no previous file with comments | « src/heap/spaces.h ('k') | src/profiler/heap-profiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698