Hi, I'm trying to emulate a sequence of javascript codes using V8. After emulating a script, I delete the context and invoke V8::IdleNotification() to free any memory if possible. Before running the next script, I create a new context.
After running through several thousands of scripts this way, I'm getting an assert while creating a context for a script. At that point, the gc_stat_ seems to be in 'SCAVENGE' state. I'm wondering if the previous IdleNotification() call is leaving the gc_state_ in this 'SCAVENGE' state instead of setting it back to 'NOT_IN_GC' . But, the IdleNotification() call seems to be a blocking call. Please let me know if anyone has seen such issues before and if there is something I'm missing. Thank you, Ravi -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
