diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-11-10 02:02:27 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-11-11 02:40:36 +0100 |
commit | f230a1cf749e984439b5bb9729d9db9f48472827 (patch) | |
tree | 153596de2251b717ad79823f23fabf4c140d6d35 /deps/v8/src/d8.h | |
parent | a12870c823b9b67110b27a470fcac342cf1dfbd6 (diff) | |
download | android-node-v8-f230a1cf749e984439b5bb9729d9db9f48472827.tar.gz android-node-v8-f230a1cf749e984439b5bb9729d9db9f48472827.tar.bz2 android-node-v8-f230a1cf749e984439b5bb9729d9db9f48472827.zip |
v8: upgrade to 3.22.24
This commit removes the simple/test-event-emitter-memory-leak test for
being unreliable with the new garbage collector: the memory pressure
exerted by the test case is too low for the garbage collector to kick
in. It can be made to work again by limiting the heap size with the
--max_old_space_size=x flag but that won't be very reliable across
platforms and architectures.
Diffstat (limited to 'deps/v8/src/d8.h')
-rw-r--r-- | deps/v8/src/d8.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/v8/src/d8.h b/deps/v8/src/d8.h index 1ae1bcfe6e..411dfdda3e 100644 --- a/deps/v8/src/d8.h +++ b/deps/v8/src/d8.h @@ -232,6 +232,7 @@ class ShellOptions { interactive_shell(false), test_shell(false), dump_heap_constants(false), + expected_to_throw(false), num_isolates(1), isolate_sources(NULL) { } @@ -256,6 +257,7 @@ class ShellOptions { bool interactive_shell; bool test_shell; bool dump_heap_constants; + bool expected_to_throw; int num_isolates; SourceGroup* isolate_sources; }; @@ -300,6 +302,8 @@ class Shell : public i::AllStatic { Handle<String> command); static void DispatchDebugMessages(); #endif // ENABLE_DEBUGGER_SUPPORT + + static void PerformanceNow(const v8::FunctionCallbackInfo<v8::Value>& args); #endif // V8_SHARED static void RealmCurrent(const v8::FunctionCallbackInfo<v8::Value>& args); @@ -391,6 +395,7 @@ class Shell : public i::AllStatic { static CounterCollection* counters_; static i::OS::MemoryMappedFile* counters_file_; static i::Mutex context_mutex_; + static const i::TimeTicks kInitialTicks; static Counter* GetCounter(const char* name, bool is_histogram); static void InstallUtilityScript(Isolate* isolate); |