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