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 6278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6289 */ | 6289 */ |
6290 void VisitHandlesForPartialDependence(PersistentHandleVisitor* visitor); | 6290 void VisitHandlesForPartialDependence(PersistentHandleVisitor* visitor); |
6291 | 6291 |
6292 /** | 6292 /** |
6293 * Iterates through all the persistent handles in the current isolate's heap | 6293 * Iterates through all the persistent handles in the current isolate's heap |
6294 * that have class_ids and are weak to be marked as inactive if there is no | 6294 * that have class_ids and are weak to be marked as inactive if there is no |
6295 * pending activity for the handle. | 6295 * pending activity for the handle. |
6296 */ | 6296 */ |
6297 void VisitWeakHandles(PersistentHandleVisitor* visitor); | 6297 void VisitWeakHandles(PersistentHandleVisitor* visitor); |
6298 | 6298 |
| 6299 /** |
| 6300 * Check if this isolate is in use. |
| 6301 * True if at least one thread Enter'ed this isolate. |
| 6302 */ |
| 6303 bool IsInUse(); |
| 6304 |
6299 private: | 6305 private: |
6300 template <class K, class V, class Traits> | 6306 template <class K, class V, class Traits> |
6301 friend class PersistentValueMapBase; | 6307 friend class PersistentValueMapBase; |
6302 | 6308 |
6303 Isolate(); | 6309 Isolate(); |
6304 Isolate(const Isolate&); | 6310 Isolate(const Isolate&); |
6305 ~Isolate(); | 6311 ~Isolate(); |
6306 Isolate& operator=(const Isolate&); | 6312 Isolate& operator=(const Isolate&); |
6307 void* operator new(size_t size); | 6313 void* operator new(size_t size); |
6308 void operator delete(void*, size_t); | 6314 void operator delete(void*, size_t); |
(...skipping 2465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8774 */ | 8780 */ |
8775 | 8781 |
8776 | 8782 |
8777 } // namespace v8 | 8783 } // namespace v8 |
8778 | 8784 |
8779 | 8785 |
8780 #undef TYPE_CHECK | 8786 #undef TYPE_CHECK |
8781 | 8787 |
8782 | 8788 |
8783 #endif // INCLUDE_V8_H_ | 8789 #endif // INCLUDE_V8_H_ |
OLD | NEW |