v8.h   v8.h 
skipping to change at line 4326 skipping to change at line 4326
* collection performance. Use IdleNotification() or LowMemoryNotificatio n() * collection performance. Use IdleNotification() or LowMemoryNotificatio n()
* instead to influence the garbage collection schedule. * instead to influence the garbage collection schedule.
*/ */
void RequestGarbageCollectionForTesting(GarbageCollectionType type); void RequestGarbageCollectionForTesting(GarbageCollectionType type);
/** /**
* Set the callback to invoke for logging event. * Set the callback to invoke for logging event.
*/ */
void SetEventLogger(LogEventCallback that); void SetEventLogger(LogEventCallback that);
/**
* Adds a callback to notify the host application when a script finished
* running. If a script re-enters the runtime during executing, the
* CallCompletedCallback is only invoked when the outer-most script
* execution ends. Executing scripts inside the callback do not trigger
* further callbacks.
*/
void AddCallCompletedCallback(CallCompletedCallback callback);
/**
* Removes callback that was installed by AddCallCompletedCallback.
*/
void RemoveCallCompletedCallback(CallCompletedCallback callback);
private: private:
template<class K, class V, class Traits> friend class PersistentValueMap; template<class K, class V, class Traits> friend class PersistentValueMap;
Isolate(); Isolate();
Isolate(const Isolate&); Isolate(const Isolate&);
~Isolate(); ~Isolate();
Isolate& operator=(const Isolate&); Isolate& operator=(const Isolate&);
void* operator new(size_t size); void* operator new(size_t size);
void operator delete(void*, size_t); void operator delete(void*, size_t);
skipping to change at line 4684 skipping to change at line 4698
* Removes callback that was installed by AddMemoryAllocationCallback. * Removes callback that was installed by AddMemoryAllocationCallback.
*/ */
static void RemoveMemoryAllocationCallback(MemoryAllocationCallback callb ack); static void RemoveMemoryAllocationCallback(MemoryAllocationCallback callb ack);
/** /**
* Adds a callback to notify the host application when a script finished * Adds a callback to notify the host application when a script finished
* running. If a script re-enters the runtime during executing, the * running. If a script re-enters the runtime during executing, the
* CallCompletedCallback is only invoked when the outer-most script * CallCompletedCallback is only invoked when the outer-most script
* execution ends. Executing scripts inside the callback do not trigger * execution ends. Executing scripts inside the callback do not trigger
* further callbacks. * further callbacks.
*
* Will be deprecated soon. Use Isolate::AddCallCompletedCallback.
*/ */
static void AddCallCompletedCallback(CallCompletedCallback callback); static void AddCallCompletedCallback(CallCompletedCallback callback);
/** /**
* Removes callback that was installed by AddCallCompletedCallback. * Removes callback that was installed by AddCallCompletedCallback.
*
* Will be deprecated soon. Use Isolate::RemoveCallCompletedCallback.
*/ */
static void RemoveCallCompletedCallback(CallCompletedCallback callback); static void RemoveCallCompletedCallback(CallCompletedCallback callback);
/** /**
* Experimental: Runs the Microtask Work Queue until empty * Experimental: Runs the Microtask Work Queue until empty
*/ */
static void RunMicrotasks(Isolate* isolate); static void RunMicrotasks(Isolate* isolate);
/** /**
* Experimental: Enqueues the callback to the Microtask Work Queue * Experimental: Enqueues the callback to the Microtask Work Queue
 End of changes. 3 change blocks. 
0 lines changed or deleted 18 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/