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

Side by Side Diff: src/heap-profiler.h

Issue 1338253002: [loggers] Guard object/code move events using mutexes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | src/heap-profiler.cc » ('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 2009-2010 the V8 project authors. All rights reserved. 1 // Copyright 2009-2010 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 #ifndef V8_HEAP_PROFILER_H_ 5 #ifndef V8_HEAP_PROFILER_H_
6 #define V8_HEAP_PROFILER_H_ 6 #define V8_HEAP_PROFILER_H_
7 7
8 #include "src/base/smart-pointers.h" 8 #include "src/base/smart-pointers.h"
9 #include "src/isolate.h" 9 #include "src/isolate.h"
10 #include "src/list.h" 10 #include "src/list.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 private: 69 private:
70 Heap* heap() const; 70 Heap* heap() const;
71 71
72 // Mapping from HeapObject addresses to objects' uids. 72 // Mapping from HeapObject addresses to objects' uids.
73 base::SmartPointer<HeapObjectsMap> ids_; 73 base::SmartPointer<HeapObjectsMap> ids_;
74 List<HeapSnapshot*> snapshots_; 74 List<HeapSnapshot*> snapshots_;
75 base::SmartPointer<StringsStorage> names_; 75 base::SmartPointer<StringsStorage> names_;
76 List<v8::HeapProfiler::WrapperInfoCallback> wrapper_callbacks_; 76 List<v8::HeapProfiler::WrapperInfoCallback> wrapper_callbacks_;
77 base::SmartPointer<AllocationTracker> allocation_tracker_; 77 base::SmartPointer<AllocationTracker> allocation_tracker_;
78 bool is_tracking_object_moves_; 78 bool is_tracking_object_moves_;
79 base::Mutex profiler_mutex_;
79 }; 80 };
80 81
81 } } // namespace v8::internal 82 } } // namespace v8::internal
82 83
83 #endif // V8_HEAP_PROFILER_H_ 84 #endif // V8_HEAP_PROFILER_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap-profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698