Please my frend it's possibel you write me in Fransh langage's Si possible me traduire cet E-mail en Français ?
2012/2/28 <[email protected]>: > Today's Topic Summary > > Group: http://groups.google.com/group/v8-users/topics > > Threads [1 Update] > Sharing compiled script across contexts [2 Updates] > [No Subject] [1 Update] > v8 garbage collection [2 Updates] > > Threads > > ckiewiet <[email protected]> Feb 28 04:35AM -0800 > > Hello, > > After doing some research w.r.t. Threads within V8, I have found the > (undocumented?) v8::internal::Thread class. As for its usage, I am at > a loss. I have inspected some of the unit test codes that deal with > v8::internal::Thread, however I have not been able to yield anything > usable. I cannot even get the code to link, as it claims that the > destructor for Thread (v8::internal::~Thread) has not been defined. > The reason behind my doing this is, that I am trying to spawn a thread > that is able to invoke v8::V8::TerminateExecution after a certain > timeout has passed, in order to prevent mal[formed|icious] user > generated code from running indefinitely. > > Is there perhaps a special flag that I have overlooked in the build > process that you need to specify if you wish to use > v8::internal::Thread? > > Best Regards, > C. Kiewiet > > > > Sharing compiled script across contexts > > BrianG <[email protected]> Feb 27 07:29PM -0800 > > Hi, > I need my code to be fairly isolated so I'm creating and destroying > contexts very frequently, is there anyway to save compiled script so > that it can be used across contexts and so that it can easily just be > run inside a new context? If not, is there a way to "image" a context > and quickly reload it with the compiled script already ready to go? > > Thanks. > Brian > > > > Stephan Beal <[email protected]> Feb 28 12:40PM +0100 > >> that it can be used across contexts and so that it can easily just be >> run inside a new context? If not, is there a way to "image" a context >> and quickly reload it with the compiled script already ready to go? > > This might be useful... > > From the Script class: > > /** > * Compiles the specified script (context-independent). > * > * \param source Script source code. > * \param origin Script origin, owned by caller, no references are kept > * when New() returns > * \param pre_data Pre-parsing data, as obtained by > ScriptData::PreCompile() > * using pre_data speeds compilation if it's done multiple times. > * Owned by caller, no references are kept when New() returns. > * \param script_data Arbitrary data associated with script. Using > * this has same effect as calling SetData(), but allows data to be > * available to compile event handlers. > * \return Compiled script object (context independent; when run it > * will use the currently entered context). > */ > static Local<Script> New(Handle<String> source, > ScriptOrigin* origin = NULL, > ScriptData* pre_data = NULL, > Handle<String> script_data = Handle<String>()); > > > > -- > ----- stephan beal > http://wanderinghorse.net/home/stephan/ > http://gplus.to/sgbeal > > > > [No Subject] > > 孔晓泉 <[email protected]> Feb 28 09:41AM +0800 > > I am going to that page, a long-running v8 do want to know the v8 in a > long run, and run the context of the multi-event interaction, v8 > whether memory leaks or other problems?thankyou ~ > > > > v8 garbage collection > > BrianG <[email protected]> Feb 27 04:22PM -0800 > > Hello, > Is there a way to determine when a v8 isolate is about to GC so it can > be logged? I would like a way to keep track of the v8 garbage > collection patterns in my application. Also, will deleting a context > help or worsen gc patterns? > > Thanks. > Brian > > > > BrianG <[email protected]> Feb 27 04:40PM -0800 > > Sorry, I just found v8::V8::AddGCPrologueCallback. > > Thanks. > Brian > > > > > You received this message because you are subscribed to the Google Group > v8-users. > You can post via email. > To unsubscribe from this group, send an empty message. > For more options, visit this group. > > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users -- Bonne Chance-BELHADJ MOUNIR -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
