OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium 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 // Parts of this module come from: | 5 // Parts of this module come from: |
6 // http://www.codeproject.com/KB/applications/visualleakdetector.aspx | 6 // http://www.codeproject.com/KB/applications/visualleakdetector.aspx |
7 // by Dan Moulding. | 7 // by Dan Moulding. |
8 // http://www.codeproject.com/KB/threads/StackWalker.aspx | 8 // http://www.codeproject.com/KB/threads/StackWalker.aspx |
9 // by Jochen Kalmbach | 9 // by Jochen Kalmbach |
10 | 10 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 int32 allocation_size_; // The size of the allocation | 104 int32 allocation_size_; // The size of the allocation |
105 | 105 |
106 AllocationStack* next_; // Pointer used when on the freelist. | 106 AllocationStack* next_; // Pointer used when on the freelist. |
107 static AllocationStack* freelist_; | 107 static AllocationStack* freelist_; |
108 static Lock freelist_lock_; | 108 static Lock freelist_lock_; |
109 | 109 |
110 DISALLOW_EVIL_CONSTRUCTORS(AllocationStack); | 110 DISALLOW_EVIL_CONSTRUCTORS(AllocationStack); |
111 }; | 111 }; |
112 | 112 |
113 #endif // MEMORY_WATCHER_CALL_STACK_H_ | 113 #endif // MEMORY_WATCHER_CALL_STACK_H_ |
114 | |
OLD | NEW |