OLD | NEW |
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 6313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6324 */ | 6324 */ |
6325 void VisitHandlesForPartialDependence(PersistentHandleVisitor* visitor); | 6325 void VisitHandlesForPartialDependence(PersistentHandleVisitor* visitor); |
6326 | 6326 |
6327 /** | 6327 /** |
6328 * Iterates through all the persistent handles in the current isolate's heap | 6328 * Iterates through all the persistent handles in the current isolate's heap |
6329 * that have class_ids and are weak to be marked as inactive if there is no | 6329 * that have class_ids and are weak to be marked as inactive if there is no |
6330 * pending activity for the handle. | 6330 * pending activity for the handle. |
6331 */ | 6331 */ |
6332 void VisitWeakHandles(PersistentHandleVisitor* visitor); | 6332 void VisitWeakHandles(PersistentHandleVisitor* visitor); |
6333 | 6333 |
| 6334 /** |
| 6335 * Check if this isolate is in use. |
| 6336 * True if at least one thread Enter'ed this isolate. |
| 6337 */ |
| 6338 bool IsInUse(); |
| 6339 |
6334 private: | 6340 private: |
6335 template <class K, class V, class Traits> | 6341 template <class K, class V, class Traits> |
6336 friend class PersistentValueMapBase; | 6342 friend class PersistentValueMapBase; |
6337 | 6343 |
6338 Isolate(); | 6344 Isolate(); |
6339 Isolate(const Isolate&); | 6345 Isolate(const Isolate&); |
6340 ~Isolate(); | 6346 ~Isolate(); |
6341 Isolate& operator=(const Isolate&); | 6347 Isolate& operator=(const Isolate&); |
6342 void* operator new(size_t size); | 6348 void* operator new(size_t size); |
6343 void operator delete(void*, size_t); | 6349 void operator delete(void*, size_t); |
(...skipping 2434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8778 */ | 8784 */ |
8779 | 8785 |
8780 | 8786 |
8781 } // namespace v8 | 8787 } // namespace v8 |
8782 | 8788 |
8783 | 8789 |
8784 #undef TYPE_CHECK | 8790 #undef TYPE_CHECK |
8785 | 8791 |
8786 | 8792 |
8787 #endif // INCLUDE_V8_H_ | 8793 #endif // INCLUDE_V8_H_ |
OLD | NEW |