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

Side by Side Diff: src/isolate.cc

Issue 1555553002: [profiler] Implement POC Sampling Heap Profiler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: remove unused variable 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
1922 heap_.TearDown(); 1925 heap_.TearDown();
1923 logger_->TearDown(); 1926 logger_->TearDown();
1924 1927
1925 cancelable_task_manager()->CancelAndWait(); 1928 cancelable_task_manager()->CancelAndWait();
1926 1929
1927 delete heap_profiler_;
1928 heap_profiler_ = NULL;
1929 delete cpu_profiler_; 1930 delete cpu_profiler_;
1930 cpu_profiler_ = NULL; 1931 cpu_profiler_ = NULL;
1931 1932
1932 delete root_index_map_; 1933 delete root_index_map_;
1933 root_index_map_ = NULL; 1934 root_index_map_ = NULL;
1934 1935
1935 ClearSerializerData(); 1936 ClearSerializerData();
1936 } 1937 }
1937 1938
1938 1939
(...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after
2829 // Then check whether this scope intercepts. 2830 // Then check whether this scope intercepts.
2830 if ((flag & intercept_mask_)) { 2831 if ((flag & intercept_mask_)) {
2831 intercepted_flags_ |= flag; 2832 intercepted_flags_ |= flag;
2832 return true; 2833 return true;
2833 } 2834 }
2834 return false; 2835 return false;
2835 } 2836 }
2836 2837
2837 } // namespace internal 2838 } // namespace internal
2838 } // namespace v8 2839 } // 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