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

Side by Side Diff: src/heap/array-buffer-tracker.h

Issue 1371083003: [presubmit] Enable readability/namespace linter checking. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_ARRAY_BUFFER_TRACKER_H_ 5 #ifndef V8_HEAP_ARRAY_BUFFER_TRACKER_H_
6 #define V8_HEAP_ARRAY_BUFFER_TRACKER_H_ 6 #define V8_HEAP_ARRAY_BUFFER_TRACKER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 // To be able to free memory held by ArrayBuffers during scavenge as well, we 62 // To be able to free memory held by ArrayBuffers during scavenge as well, we
63 // have a separate list of allocated memory held by ArrayBuffers in new space. 63 // have a separate list of allocated memory held by ArrayBuffers in new space.
64 // 64 //
65 // Since mark/compact also evacuates the new space, all pointers in the 65 // Since mark/compact also evacuates the new space, all pointers in the
66 // |live_array_buffers_for_scavenge_| list are also in the 66 // |live_array_buffers_for_scavenge_| list are also in the
67 // |live_array_buffers_| list. 67 // |live_array_buffers_| list.
68 std::map<void*, size_t> live_array_buffers_for_scavenge_; 68 std::map<void*, size_t> live_array_buffers_for_scavenge_;
69 std::map<void*, size_t> not_yet_discovered_array_buffers_for_scavenge_; 69 std::map<void*, size_t> not_yet_discovered_array_buffers_for_scavenge_;
70 }; 70 };
71 } 71 } // namespace internal
72 } // namespace v8::internal 72 } // namespace v8
73 #endif // V8_HEAP_ARRAY_BUFFER_TRACKER_H_ 73 #endif // V8_HEAP_ARRAY_BUFFER_TRACKER_H_
OLDNEW
« no previous file with comments | « src/hashmap.h ('k') | src/heap/gc-idle-time-handler.cc » ('j') | src/objects.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698