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 6267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6278 */ | 6278 */ |
6279 void VisitHandlesForPartialDependence(PersistentHandleVisitor* visitor); | 6279 void VisitHandlesForPartialDependence(PersistentHandleVisitor* visitor); |
6280 | 6280 |
6281 /** | 6281 /** |
6282 * Iterates through all the persistent handles in the current isolate's heap | 6282 * Iterates through all the persistent handles in the current isolate's heap |
6283 * that have class_ids and are weak to be marked as inactive if there is no | 6283 * that have class_ids and are weak to be marked as inactive if there is no |
6284 * pending activity for the handle. | 6284 * pending activity for the handle. |
6285 */ | 6285 */ |
6286 void VisitWeakHandles(PersistentHandleVisitor* visitor); | 6286 void VisitWeakHandles(PersistentHandleVisitor* visitor); |
6287 | 6287 |
| 6288 /** |
| 6289 * Check if this isolate is in use. |
| 6290 * True if at least one thread Enter'ed this isolate. |
| 6291 */ |
| 6292 bool IsInUse(); |
| 6293 |
6288 private: | 6294 private: |
6289 template <class K, class V, class Traits> | 6295 template <class K, class V, class Traits> |
6290 friend class PersistentValueMapBase; | 6296 friend class PersistentValueMapBase; |
6291 | 6297 |
6292 Isolate(); | 6298 Isolate(); |
6293 Isolate(const Isolate&); | 6299 Isolate(const Isolate&); |
6294 ~Isolate(); | 6300 ~Isolate(); |
6295 Isolate& operator=(const Isolate&); | 6301 Isolate& operator=(const Isolate&); |
6296 void* operator new(size_t size); | 6302 void* operator new(size_t size); |
6297 void operator delete(void*, size_t); | 6303 void operator delete(void*, size_t); |
(...skipping 2434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8732 */ | 8738 */ |
8733 | 8739 |
8734 | 8740 |
8735 } // namespace v8 | 8741 } // namespace v8 |
8736 | 8742 |
8737 | 8743 |
8738 #undef TYPE_CHECK | 8744 #undef TYPE_CHECK |
8739 | 8745 |
8740 | 8746 |
8741 #endif // INCLUDE_V8_H_ | 8747 #endif // INCLUDE_V8_H_ |
OLD | NEW |