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

Side by Side Diff: include/v8.h

Issue 1419523008: Add boolean to tell if V8 zaps allocated memory (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rename. Created 5 years, 1 month 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/api.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 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 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 4989 matching lines...) Expand 10 before | Expand all | Expand 10 after
5000 */ 5000 */
5001 class V8_EXPORT HeapStatistics { 5001 class V8_EXPORT HeapStatistics {
5002 public: 5002 public:
5003 HeapStatistics(); 5003 HeapStatistics();
5004 size_t total_heap_size() { return total_heap_size_; } 5004 size_t total_heap_size() { return total_heap_size_; }
5005 size_t total_heap_size_executable() { return total_heap_size_executable_; } 5005 size_t total_heap_size_executable() { return total_heap_size_executable_; }
5006 size_t total_physical_size() { return total_physical_size_; } 5006 size_t total_physical_size() { return total_physical_size_; }
5007 size_t total_available_size() { return total_available_size_; } 5007 size_t total_available_size() { return total_available_size_; }
5008 size_t used_heap_size() { return used_heap_size_; } 5008 size_t used_heap_size() { return used_heap_size_; }
5009 size_t heap_size_limit() { return heap_size_limit_; } 5009 size_t heap_size_limit() { return heap_size_limit_; }
5010 size_t does_zap_garbage() { return does_zap_garbage_; }
5010 5011
5011 private: 5012 private:
5012 size_t total_heap_size_; 5013 size_t total_heap_size_;
5013 size_t total_heap_size_executable_; 5014 size_t total_heap_size_executable_;
5014 size_t total_physical_size_; 5015 size_t total_physical_size_;
5015 size_t total_available_size_; 5016 size_t total_available_size_;
5016 size_t used_heap_size_; 5017 size_t used_heap_size_;
5017 size_t heap_size_limit_; 5018 size_t heap_size_limit_;
5019 bool does_zap_garbage_;
5018 5020
5019 friend class V8; 5021 friend class V8;
5020 friend class Isolate; 5022 friend class Isolate;
5021 }; 5023 };
5022 5024
5023 5025
5024 class V8_EXPORT HeapSpaceStatistics { 5026 class V8_EXPORT HeapSpaceStatistics {
5025 public: 5027 public:
5026 HeapSpaceStatistics(); 5028 HeapSpaceStatistics();
5027 const char* space_name() { return space_name_; } 5029 const char* space_name() { return space_name_; }
(...skipping 3340 matching lines...) Expand 10 before | Expand all | Expand 10 after
8368 */ 8370 */
8369 8371
8370 8372
8371 } // namespace v8 8373 } // namespace v8
8372 8374
8373 8375
8374 #undef TYPE_CHECK 8376 #undef TYPE_CHECK
8375 8377
8376 8378
8377 #endif // V8_H_ 8379 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698