[v8-users] Re: How to reuse Context with multiple scripts?

2015-09-16 Thread rahul prakash
Hi Luke , Can you please explain, how Script::New() be allows to be run in any context. regards Rahul Prakash On Thursday, September 19, 2013 at 9:46:30 PM UTC+5:30, Luke wrote: > > Script::Compile() binds the script to that context only. Script::New() can > compile scripts in a single

Re: [v8-users] output of --trace_gc

2015-09-16 Thread Michael Lippautz
The corresponding source can be found in src/heap/gc-tracer.cc On Wed, Sep 16, 2015 at 7:02 AM dmonji wrote: > [29648:0xbad6f48] 2631 ms: Scavenge 8.0 (22.6) -> 4.2 (22.6) MB, 8.4 / > 0 ms [allocation failure]. > [:] ms: () -> () MB, / []. >

[v8-users] Embedding v8 in multi-platform application

2015-09-16 Thread Niklas Frisk
Hi, I've recently been trying to embed v8 in a small c++ (c++11) application that's built for multiple platforms (linux, osx, possibly windows) and architectures (both x64 and arm). My initial plan was to build static libraries for all corresponding platforms, but I was unable to build static

Re: [v8-users] Embedding v8 in multi-platform application

2015-09-16 Thread Jakob Kummerow
standalone.gypi, as the name implies, is intended for standalone V8 builds. Embedders should provide corresponding definitions in their own GYP files (e.g. their common.gypi). If you need a (big) example, look at Chromium's common.gypi. On Wed, Sep 16, 2015 at 4:29 PM, Niklas Frisk

Re: [v8-users] Embedding v8 in multi-platform application

2015-09-16 Thread Niklas Frisk
This might be the wrong forum for this question but is there a way to avoid the required V8 variables etc affect my project? Currently the standalone.gypi is force included (which as far as I gather is to ensure v8 and all it's dependents get the contents of standalone merged into their