| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_PROFILER_ALLOCATION_TRACKER_H_ | 5 #ifndef V8_PROFILER_ALLOCATION_TRACKER_H_ |
| 6 #define V8_PROFILER_ALLOCATION_TRACKER_H_ | 6 #define V8_PROFILER_ALLOCATION_TRACKER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "include/v8-profiler.h" | 10 #include "include/v8-profiler.h" |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 unsigned allocation_trace_buffer_[kMaxAllocationTraceLength]; | 145 unsigned allocation_trace_buffer_[kMaxAllocationTraceLength]; |
| 146 List<FunctionInfo*> function_info_list_; | 146 List<FunctionInfo*> function_info_list_; |
| 147 HashMap id_to_function_info_index_; | 147 HashMap id_to_function_info_index_; |
| 148 List<UnresolvedLocation*> unresolved_locations_; | 148 List<UnresolvedLocation*> unresolved_locations_; |
| 149 unsigned info_index_for_other_state_; | 149 unsigned info_index_for_other_state_; |
| 150 AddressToTraceMap address_to_trace_; | 150 AddressToTraceMap address_to_trace_; |
| 151 | 151 |
| 152 DISALLOW_COPY_AND_ASSIGN(AllocationTracker); | 152 DISALLOW_COPY_AND_ASSIGN(AllocationTracker); |
| 153 }; | 153 }; |
| 154 | 154 |
| 155 } } // namespace v8::internal | 155 } // namespace internal |
| 156 } // namespace v8 |
| 156 | 157 |
| 157 #endif // V8_ALLOCATION_TRACKER_H_ | 158 #endif // V8_ALLOCATION_TRACKER_H_ |
| OLD | NEW |