| Index: src/api.cc
|
| ===================================================================
|
| --- src/api.cc (revision 2724)
|
| +++ src/api.cc (working copy)
|
| @@ -2604,10 +2604,18 @@
|
| }
|
|
|
|
|
| -void v8::V8::IdleNotification(bool is_high_priority) {
|
| +void v8::V8::IdleNotification(bool is_high_priority) {
|
| i::V8::IdleNotification(is_high_priority);
|
| }
|
|
|
| +
|
| +void v8::V8::LowMemoryNotification() {
|
| +#if defined(ANDROID)
|
| + i::Heap::CollectAllGarbage(true);
|
| +#endif
|
| +}
|
| +
|
| +
|
| const char* v8::V8::GetVersion() {
|
| static v8::internal::EmbeddedVector<char, 128> buffer;
|
| v8::internal::Version::GetString(buffer);
|
|
|