Chromium Code Reviews| 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. | |
|
alph
2016/05/03 18:48:07
The description doesn't add much information to th
lpy
2016/05/04 00:09:23
Done.
| |
| 6301 */ | |
| 6302 bool IsInUse(); | |
| 6303 | |
| 6299 private: | 6304 private: |
| 6300 template <class K, class V, class Traits> | 6305 template <class K, class V, class Traits> |
| 6301 friend class PersistentValueMapBase; | 6306 friend class PersistentValueMapBase; |
| 6302 | 6307 |
| 6303 Isolate(); | 6308 Isolate(); |
| 6304 Isolate(const Isolate&); | 6309 Isolate(const Isolate&); |
| 6305 ~Isolate(); | 6310 ~Isolate(); |
| 6306 Isolate& operator=(const Isolate&); | 6311 Isolate& operator=(const Isolate&); |
| 6307 void* operator new(size_t size); | 6312 void* operator new(size_t size); |
| 6308 void operator delete(void*, size_t); | 6313 void operator delete(void*, size_t); |
| (...skipping 2465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8774 */ | 8779 */ |
| 8775 | 8780 |
| 8776 | 8781 |
| 8777 } // namespace v8 | 8782 } // namespace v8 |
| 8778 | 8783 |
| 8779 | 8784 |
| 8780 #undef TYPE_CHECK | 8785 #undef TYPE_CHECK |
| 8781 | 8786 |
| 8782 | 8787 |
| 8783 #endif // INCLUDE_V8_H_ | 8788 #endif // INCLUDE_V8_H_ |
| OLD | NEW |