| 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 4463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4474 */ | 4474 */ |
| 4475 bool IdleNotification(int idle_time_in_ms); | 4475 bool IdleNotification(int idle_time_in_ms); |
| 4476 | 4476 |
| 4477 /** | 4477 /** |
| 4478 * Optional notification that the system is running low on memory. | 4478 * Optional notification that the system is running low on memory. |
| 4479 * V8 uses these notifications to attempt to free memory. | 4479 * V8 uses these notifications to attempt to free memory. |
| 4480 */ | 4480 */ |
| 4481 void LowMemoryNotification(); | 4481 void LowMemoryNotification(); |
| 4482 | 4482 |
| 4483 /** | 4483 /** |
| 4484 * Optional notification that a context has been disposed. V8 uses | 4484 * Optional notification that a context has been disposed. This may trigger |
| 4485 * these notifications to guide the GC heuristic. Returns the number | 4485 * a full garbage collection if invoked too frequently. |
| 4486 * of context disposals - including this one - since the last time | |
| 4487 * V8 had a chance to clean up. | |
| 4488 */ | 4486 */ |
| 4489 int ContextDisposedNotification(); | 4487 void ContextDisposedNotification(); |
| 4490 | 4488 |
| 4491 private: | 4489 private: |
| 4492 template<class K, class V, class Traits> friend class PersistentValueMap; | 4490 template<class K, class V, class Traits> friend class PersistentValueMap; |
| 4493 | 4491 |
| 4494 Isolate(); | 4492 Isolate(); |
| 4495 Isolate(const Isolate&); | 4493 Isolate(const Isolate&); |
| 4496 ~Isolate(); | 4494 ~Isolate(); |
| 4497 Isolate& operator=(const Isolate&); | 4495 Isolate& operator=(const Isolate&); |
| 4498 void* operator new(size_t size); | 4496 void* operator new(size_t size); |
| 4499 void operator delete(void*, size_t); | 4497 void operator delete(void*, size_t); |
| (...skipping 2229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6729 */ | 6727 */ |
| 6730 | 6728 |
| 6731 | 6729 |
| 6732 } // namespace v8 | 6730 } // namespace v8 |
| 6733 | 6731 |
| 6734 | 6732 |
| 6735 #undef TYPE_CHECK | 6733 #undef TYPE_CHECK |
| 6736 | 6734 |
| 6737 | 6735 |
| 6738 #endif // V8_H_ | 6736 #endif // V8_H_ |
| OLD | NEW |