On Fri, Apr 26, 2013 at 9:54 PM, Vyacheslav Egorov vego...@chromium.orgwrote:
So it is possible that persistent weak handles built on top of
primitive values did not collected?
Boolean values are eternal --- they never die. Small integers (31 bits on
ia32 and 32bits on x64) are not even
+kentaro for some profiling insights
On Tue, Jun 11, 2013 at 7:24 AM, Adam Klein ad...@chromium.org wrote:
I'm trying to profile the v8 execution of a web app using Chromium's
content_shell with some success. But I'm also getting some odd
results. I'm using a commandline like:
Hey all,
as some of you may have noticed, V8 started to depend on ICU (if you run
make dependencies, a patched version of ICU 4.6 as used by chromium is
checked out into third_party/icu).
This enables building with i18n support
http://www.ecma-international.org/ecma-402/1.0/
The i18n support is
Hey,
there's no direct way currently. However, the JSON::Parse method also just
forwards to the JSON.parse JavaScript method.
best
-jochen
On Tue, Aug 20, 2013 at 11:04 PM, Luke l...@webconnex.com wrote:
There seems to be a way to convert JSON to HandleValue:
class V8_EXPORT JSON {
Hi,
we just turned on ECMA-402 support by default in V8. It's been available as
an extension and used by Chrome for a few years now. Recently, we moved the
extension code in V8 and turned it into a built-in feature, i.e. the i18n
code is now part of the snapshot and available to all embedders.
On Fri, Sep 27, 2013 at 1:32 PM, smith.winston@gmail.com wrote:
On Thursday, September 26, 2013 11:29:33 PM UTC-4, smith.wi...@gmail.comwrote:
I'm trying to build v8 for Android on a Mac ... However it fails as
follows:
CXX(target)
On Fri, Oct 4, 2013 at 8:25 AM, Anatol Pomozov anatol.pomo...@gmail.comwrote:
Hi
Thanks for your response.
On Thu, Oct 3, 2013 at 10:35 PM, Louis Santillan lpsan...@gmail.com
wrote:
1) gyp is a hard dependency. ICU is not. I'm not aware of gyp being
available as a stand alone package
On Fri, Oct 4, 2013 at 12:19 PM, Yutaka Hirano yhir...@chromium.org wrote:
Promises are currently being specified at [1] and according to [2] they
will be introduced in ES6.
I would like to implement them behind a flag.
The implementation will replace the Promises implementation in Blink in
To clarify, we won't expose threads to the language, but clean-up the
thread usage of V8 internally, e.g. the optimizing compiler thread.
best
-jochen
On Fri, Oct 4, 2013 at 7:37 PM, Dirk Pranke dpra...@chromium.org wrote:
On Fri, Oct 4, 2013 at 3:29 AM, Jochen Eisinger joc
and point
icu_gyp_path to it? I hate pulling 100's of MB that I'm not using.
Would 'svn co icu46/icu.gyp' suffice? I'm building with i18nsupport=off.
-L
On Thu, Oct 3, 2013 at 11:55 PM, Jochen Eisinger joc...@chromium.org
wrote:
On Fri, Oct 4, 2013 at 8:25 AM, Anatol Pomozov anatol.pomo
You shouldn't link against the obj.host libraries.
Also, if you link against the .a files, you need to link first against v8
and then against icu.
best
-jochen
On Sun, Oct 27, 2013 at 2:39 AM, t...@ainfach.de t...@ainfach.de wrote:
i have the same issue, i tryed to link against everything:
I would suspect you have an old gyp version installed somewhere
What is the output for
python -c 'import gyp; print gyp.__file__'
best
-jochen
On Sat, Jan 4, 2014 at 8:06 PM, Lilli Nonah lillino...@gmail.com wrote:
first time builder so probably something simple i've missed following
for the quick response
here is the output:
# python -c 'import gyp; print gyp.__file__'
/usr/lib/python2.6/site-packages/gyp/__init__.pyc
i guess that's it then, i should be using the gyp in the v8 build folder,
thanks
On Saturday, January 4, 2014 2:39:04 PM UTC-5, Jochen Eisinger wrote
what version of gyp did you check out?
best
-jochen
On Tue, Jan 7, 2014 at 8:26 PM, Alejandro F. Reimondo
alereimo...@smalltalking.net wrote:
Hi,
I am using gyp build command to build Visual Studio projects for V8,
as first stage of updating my V8 engines, e.g. :
Please update gyp to r1831
best
-jochen
On Wed, Jan 8, 2014 at 3:26 PM, Alejandro F. Reimondo
alereimo...@smalltalking.net wrote:
Thank you for the link!
It worked here for x64 build under VS Express 2012.
Failed to load icui18n.vcproj for target_arch=ia32 build under VC++
Express 2008.
That's because New is indeed not part of the String API. I guess in your
case, you'd want v8::String::NewFromUTF8(v8::Isolate::GetCurrent(), foo);
best
-jochen
On Wed, Jan 22, 2014 at 5:02 PM, Stefan Pöter stefan.poe...@gmail.comwrote:
Hi,
i downloaded the latest v8 from the github
Hey,
alternatively, you can use Handle::New(isolate, persistent) to create a
new handle pointing to the same object which is safe to copy (assuming
proper usage of handle scopes).
best
-jochen
On Wed, Jan 22, 2014 at 4:55 PM, Chris Adams chris.ah.ad...@gmail.comwrote:
I've got it fixed, I
the V8 embedder's guide is probably a good first start:
https://developers.google.com/v8/embed
If you use a recent version of V8, you might need to adopt some of the
examples, e.g. FunctionTemplate::New() now requires an Isolate* to be
passed.
best
-jochen
On Sun, Jan 26, 2014 at 7:23 PM, Sara
Right, Handle (and Local) can only be stack allocated and have to live
within a HandleScope. If you want to store a reference to a V8 object, you
need a Persistent, see esp. https://developers.google.com/v8/embed#handles
best
-jochen
On Sat, Jan 25, 2014 at 8:52 PM, Kevin Ingwersen
If you have a v8::Function you can pass the global state as first argument
to Function::Call.
best
-jochen
On Thu, Jan 23, 2014 at 10:07 PM, Kenton Varda tempo...@gmail.com wrote:
Hi v8-users,
I'm trying to figure out how, from the C++ API, I can create a function
that effectively has some
On Tue, Jan 28, 2014 at 9:20 AM, Pierre Saunier
pierre.saun...@ppmodeler.com wrote:
Thanks a lot, I figure it also... But, I have still 3 (related) questions:
Why Persistent are not a subclass of handle? so that it is possible to use
Handle (Local) and persistent in the same way, without the
Yes, you'd usually either store a Persistent in the C++ class itself or
maintain a map.
The Persistent would usually be weak, so you get notified if the object is
no longer needed by V8, and you can create new Local handles to the js
object when needed.
A common pattern to get from the js object
There are two options: (1) use different isolates on each thread (then the
scripts can run in parallel) and (2) use one isolate and use v8::Locker to
lock the isolate before you use it (then only one thread at a time can
execute scripts)
best
-jochen
On Fri, Jan 31, 2014 at 9:51 AM, Sara
want them to be in parallel, so I must use two isolate, for every thread
there is one isolate and no need to use lock as the scripts are different
and independent from each other. is this right?
Yes that is correct.
On Friday, January 31, 2014 11:23:28 AM UTC+2, Jochen Eisinger wrote
To build a shared library, you have to set the gyp define
component=shared_library
Best
Jochen
On Feb 21, 2014 7:56 AM, Jane Chen jxche...@gmail.com wrote:
Just to close the loop, I got it working on another Mac with Python 2.7.1
installed. Using library=shared didn't produce a shared library
On Thu, Mar 27, 2014 at 2:58 PM, Ben Noordhuis i...@bnoordhuis.nl wrote:
On Thu, Mar 27, 2014 at 1:40 PM, Sven Panne svenpa...@chromium.org
wrote:
We will continue to improve the whole API, especially regarding the
confusing notions of default Isolate and current Isolate. In the
future,
Hey all,
We're happy to announce that with V8 version 3.25 a new platform called
arm64 was added to the list of officially supported platforms.
You can enable this platform by setting v8_target_arch=arm64, the code
lives under src/arm64. If you compile on a x64 platform, arm64 will use a
Hey,
since Chromium is currently transitioning from gyp to gn[1], I added an
experimental BUILD.gn file to V8. It's currently not yet possible to build
all of v8 using gn, nor does the standalone build work at all (currently,
it's only possible to compile mksnapshot from within chromium).
If you
Hey,
if you're developing v8 (i.e. upload patches etc...) you'll need to run
make dependencies again after r21636 to check out the buildtools/
subdirectory.
This subdirectory contains the checkdeps script which I'll soon add to
the presubmit checks to enforce header include layering (e.g.
On Tue, Jun 3, 2014 at 5:47 PM, Steven R. Loomis (IBM) srl...@gmail.com
wrote:
El martes, 3 de junio de 2014 01:09:03 UTC-7, joc...@chromium.org
escribió:
+v8-users, v8-dev is mostly for codereviews and stuff...
OK, thanks.
On Tuesday, June 3, 2014 12:45:44 AM UTC+2, Steven R. Loomis
On Tue, Jun 10, 2014 at 8:38 AM, juu julien.vouilla...@gmail.com wrote:
Hello everyone,
I'm trying to implement RequireJS on my JS Engine based on v8 (v8 3.21). I
have a problem with asynchronous loading and evaluation of scripts.
The main thread initialize v8 : create its isolate, context,
.
On Thursday, June 12, 2014 1:44:27 AM UTC+2, Jochen Eisinger wrote:
On Tue, Jun 10, 2014 at 8:38 AM, juu julien.v...@gmail.com wrote:
Hello everyone,
I'm trying to implement RequireJS on my JS Engine based on v8 (v8
3.21). I have a problem with asynchronous loading and evaluation
chrome has a partial implementation of an AMD loader here:
https://code.google.com/p/chromium/codesearch#chromium/src/gin/modules/module_registry.h
that uses a single Isolate. Note that it doesn't support require() yet
best
-jochen
On Fri, Jun 13, 2014 at 6:54 AM, juu
Hey,
on v8 bleeding_edge there's a new Makefile target called builddeps
In contrast to dependencies this will only install the tools required for
building v8. dependencies also pulls in tools required for development.
Since those depend on depot_tools and we want to make it possible to
compile
Hey,
from V8 version 3.28 on and going forward, embedders should provide an
implementation of the v8::Platform interface (defined in
include/v8-platform.h). In the future, we will use this interface to run GC
related background tasks and optimizing compiler tasks instead of spinning
up threads
As of r22523, V8 depends on ICU 5.2. If you sync past that revision, you
will have to run
- make dependencies, or
- gclient sync, if you use fetch v8 to create your checkout, or
- manually switch third_party/icu to ICU 5.2 using
svn switch
Jul 2014 10:58:57 pm Jochen Eisinger wrote:
As of r22523, V8 depends on ICU 5.2. If you sync past that revision, you
will have to run
Is there a list somewhere of the various dependencies? For example how
would I find out the latest version that would compile on Centos 6.5
except by guessing
The features defined here: http://www.ecma-international.org/ecma-402/1.0/
best
-jochen
On Tue, Jul 22, 2014 at 9:35 PM, Anthony Shipman a...@iinet.net.au wrote:
On Wed, 23 Jul 2014 04:24:56 am Jochen Eisinger wrote:
Not sure I understand the question? The exact dependencies of V8 depend
It is possible, if they don't access the Isolate concurrently. You have to
use Lockers (see include/v8.h) and lock the isolate before you use it, and
unlock it again so another thread can lock it.
best
-jochen
On Wed, Jul 30, 2014 at 4:32 PM, juu julien.vouilla...@gmail.com wrote:
Hello,
I
On Tue, Aug 5, 2014 at 2:12 PM, Sven Panne svenpa...@chromium.org wrote:
Just a quick heads up: Following Chrome and making our life as developers
easier, we intend to switch to C++11 in v8 soon. For now we will do this
only partially: Usage of a compiler-only features will be allowed, but not
On Tue, Sep 2, 2014 at 12:13 AM, Jane Chen jxche...@gmail.com wrote:
I'm embedding v8 3.24.
I have an object containing a Persistent handle.
Is it required that Persistent::Reset() be called within the same isolate
where the v8 object is originally created?
I'm not sure I understand the
Note that you'll also need to link against the v8_libplatform library to
make this work
best
-jochen
On Fri, Sep 5, 2014 at 9:23 AM, Sven Panne svenpa...@chromium.org wrote:
You need to initialize the platform, see e.g.
... just a reminder that latest V8 will now crash if you don't provide a
v8::Platform implementation or install the one we ship in the
v8_libplatform library.
best
-jochen
On Tue, Jul 22, 2014 at 10:55 AM, Jochen Eisinger joc...@chromium.org
wrote:
Hey,
from V8 version 3.28 on and going
...@jameswilkins.net wrote:
Why is this not shown in the Google embedders guide?
-jw
(sent via iPhone)
On Sep 5, 2014, at 3:53 AM, Jochen Eisinger joc...@chromium.org wrote:
Note that you'll also need to link against the v8_libplatform library to
make this work
best
-jochen
On Fri, Sep
see that
v8_libplatform.lib exists in V8's 'lib' folder, but no dll in the dll
output folder (the parent folder). Is there supposed to be a DLL, or is it
part of an existing one? Not sure how this is put together.
On Friday, 5 September 2014 03:53:32 UTC-4, Jochen Eisinger wrote:
Note
12:54:46 AM UTC-7, Jochen Eisinger wrote:
... just a reminder that latest V8 will now crash if you don't provide a
v8::Platform implementation or install the one we ship in the
v8_libplatform library.
best
-jochen
On Tue, Jul 22, 2014 at 10:55 AM, Jochen Eisinger joc...@chromium.org
On Thu Nov 27 2014 at 11:39:17 AM Dmitry Lomov dslo...@chromium.org wrote:
On Thu, Nov 27, 2014 at 11:01 AM, Drew Wilson atwil...@chromium.org
wrote:
On Thu, Nov 27, 2014 at 10:35 AM, Dmitry Lomov dslo...@chromium.org
wrote:
On Thu, Nov 27, 2014 at 10:13 AM, Drew Wilson
Hey,
the dependencies and builddeps targets will be removed in about a week.
Please switch to using depot_tools and fetch v8 for creating a v8
checkout, and git pull origin (or git rebase-update) and gclient sync for
staying up to date.
If you want to use the github mirror (or any other mirror),
v8
# 5) Get v8 deps
gclient sync
# 6) Build v8 (excluding arch, release/debug and any other options)
make
Do I have it right?
[0] https://code.google.com/p/v8-wiki/wiki/BuildingWithGYP
[1] https://code.google.com/p/v8-wiki/wiki/UsingGit
On Tue, Dec 9, 2014 at 2:23 AM, Jochen Eisinger
+v8-users@googlegroups.com v8-users@googlegroups.com fyi
Note that I'm currently changing the internal implementation of
ArrayBuffers. This should be done soon, but please hold off landing bigger
changes until then. Tracking bug here:
https://code.google.com/p/v8/issues/detail?id=3996
best
Unless you use v8::Lockers to make sure only one thread at a time actually
does any work.
Anyway, LowMemoryNotification forces up to 7 compacting GCs. While
IdleNotificationDeadline (the IdleNotification version is deprecated and
will go away soon) tries to do some garbage collection work that
I updated the doc for 4.3 - there is no 4.4 branch yet.
On Wed, Apr 22, 2015 at 5:10 AM Louis Santillan lpsan...@gmail.com wrote:
The V8 API changes document
(
https://docs.google.com/document/d/1g8JFi8T_oAE_7uAri7Njtig7fKaPDfotU6huOa1alds/edit
)
doesn't appear to be to updated for 4.3
We're gradually moving functionality to the libplatform library, such as
thread support, which we don't want to link into the v8 library.
On Fri, May 8, 2015 at 12:21 AM Martin McDonough foolkingcr...@gmail.com
wrote:
I mean that using that particular platform library is totally optional. I
Each isolate is a separate instance of V8. V8 internally does not keep
track of all of them. So the answer to both of your questions is no.
On Mon, May 18, 2015 at 11:33 AM amis...@chromium.org wrote:
Hi folks,
I work on chromium and I'm making changes to how JS memory usage is being
,
Domenic Denicola
Jochen Eisinger
Yang Guo
--
Kentaro Hara, Tokyo, Japan
To unsubscribe from this group and stop receiving emails from it, send
an
email to blink-dev+unsubscr...@chromium.org.
--
Kentaro Hara, Tokyo, Japan
--
--
v8-users mailing list
v8-users
In C++ you can't overload a method with just a different return type. Since
making the context explicit instead of hoping that the right one is entered
is nice to have, it was a handy way to change the return type.
On Thu, Apr 9, 2015 at 6:25 PM Adam Klein ad...@chromium.org wrote:
On Fri, Feb
Currently, the only thing you can do is to attach a debugger, and see what
the exception is that gets thrown.
best
-jochen
On Tue, Jun 30, 2015 at 3:54 PM Domenic Denicola d...@domenic.me wrote:
While messing around with V8 extras, I managed to introduce some malformed
syntax or misused API,
yeah, building without a snapshot is a good idea as well.
I'd set a breakpoint in v8::internal::Genesis::Genesis and step over the
compilation and check the isolate's pending exception for what went wrong.
best
-jochen
On Fri, Jul 3, 2015 at 10:02 AM Andy Wingo wi...@igalia.com wrote:
On Thu
On Wed, Jul 29, 2015 at 11:05 PM Zach Bjornson zbbjorn...@gmail.com wrote:
Some of this has been discussed before, but the API has changed a lot
recently and I'm lost a bit in the discussion.
In v8 4.2.77.20 (version in iojs 2.4.0) the following seems to work for
arrays *larger than 64
I landed some config changes to make v8 compile with MSVS 2015, however, I
haven't ran tests yet.
Since we don't have MSVS 2015 builders yet, that configuration might break,
however, eventually, we'll switch to MSVS 2015, just not yet now.
best
-jochen
On Thu, Jul 23, 2015 at 5:19 PM Michael
On Sun, Jul 19, 2015 at 4:40 PM Charles Lowell cowb...@thefrontside.net
wrote:
Also, why is there a separate type for `Signature` and `AccessorSignature`?
No reason, we should probably merge them
On Sunday, July 19, 2015 at 3:25:17 AM UTC-5, Ben Noordhuis wrote:
On Sun, Jul 19, 2015 at
I suspect depot_tools isn't in your path and/or you don't have python in
your path?
On Sat, Oct 24, 2015 at 9:02 AM Viktor wrote:
> Hi again,
>
> Sorry for bothering you guys, but the installation page suggested I post
> here if I was having issues with the build
If you use phantom handles, the 2nd callback will be posted to the message
loop. In the future, more tasks might get posted to it
On Tue, Oct 13, 2015, 4:07 PM 'Aaron Link' via v8-users <
v8-users@googlegroups.com> wrote:
> On Tue, Oct 13, 2015 at 3:06 AM, Jochen Eisinger <joc...@
PM Jane Chen <jxche...@gmail.com> wrote:
> So sounds like PumpMessageLoop can happen in the background after I return
> the result of a query, maybe even after I trigger garbage collection?
>
>
> On Tuesday, October 13, 2015 at 12:07:12 AM UTC-7, Jochen Eisinger wrote:
>
&
depends a bit on the OS you run chromium on?
On Mon, Oct 5, 2015 at 6:55 PM PhistucK <phist...@gmail.com> wrote:
> Sure, but how do I get the output of the extension process? By enabling
> logging?
>
>
> ☆*PhistucK*
>
> On Mon, Oct 5, 2015 at 12:52 PM, Jochen Ei
V8 posts certain tasks to the foreground message loop. If you don't
implement one yourself and expose it via a custom v8::Platform, you'll have
to pump the message loop of the default platform from time to time to
execute those tasks.
V8 also posts tasks to background threads - those threads will
, Oct 7, 2015 at 4:51 PM, Jochen Eisinger <joc...@chromium.org>
> wrote:
>
>> depends a bit on the OS you run chromium on?
>>
>> On Mon, Oct 5, 2015 at 6:55 PM PhistucK <phist...@gmail.com> wrote:
>>
>>> Sure, but how do I get the outpu
Hey all,
going forward, V8 code reviews will be automatically cc'd to
v8-revi...@googlegroups.com. If you were subscribed to v8-dev@ to receive
those emails, please subscribe to v8-reviews@
v8-dev@ will be used for eng discussions in the future.
Existing code reviews are still cc'd to v8-dev@,
Currently, the foreground tasks can run wherever the embedder wants to run
them, but in the future, we might require that it's safe to access the
given isolate from foreground tasks.
Background tasks can run wherever the embedder likes, and they will take
care themselves to use locks etc.. to
it would be interesting to have the output of the extension process when
running chromium with --js-flags="--trace-gc --trace-gc-nvp"
Please file a bug with this information on crbug.com/new
On Sat, Oct 3, 2015 at 5:49 PM PhistucK wrote:
> Sorry for the cross post, I wanted
ple::Init() at sampler.cc:613 0x613f9424
> v8::internal::Sampler::SampleStack() at sampler.cc:717 0x613f9a64
> v8::internal::SignalHandler::HandleProfilerSignal() at sampler.cc:488
> 0x613f8c08
> 0x400218a8
>
>
> On Tuesday, December 1, 2015 at 10:32:06 AM UTC+2, Jochen Eisinger wr
ong term. Keeping
>>> Callee() and instantiating a FunctionTemplate if it gets called seems
>>> slightly more complex.
>>>
>>> In the meantime, should I revert the change (marking Callee as
>>> deprecated or deprecate soon)?
>>>
>>> On F
One alternative to using Callee for functions you created yourself is
specifying the data parameter which is passed via FunctionCallbackInfo::Data
Data could be an External that points to a data structure holding a weak
Global pointing back at the function.
Would that work for you?
On Fri, Dec
Marousez wrote:
>>>
>>> set DEPOT_TOOLS_WIN_TOOLCHAIN=0 before fetch v8 resolve this
>>>
>>> Le mardi 22 décembre 2015 14:21:13 UTC+1, Maxime Marousez a écrit :
>>>>
>>>> Hey,
>>>>
>>>> i have exactly the same problem,
>&g
Does that old version already have a file include/v8-platform.h? In that
case, you need either implement that interface and register it with V8
before creating the first isolate, or link against the libplatform library
and use the implementation from that one.
On Wed, Jan 6, 2016 at 12:42 PM
The snapshot used by V8 in this case is only for builtin objects such as
Math or Date. The current version of V8 has something called "V8 extras"
that can be used to add additional scripts to the snapshot, but I'm not
aware of anybody using that for node.
On Wed, Jan 6, 2016 at 9:22 PM Hugh
hey,
does the documented way work for you: install depot_tools, put it into your
path, and use "fetch v8" to checkout v8?
best
-jochen
On Sun, Dec 20, 2015 at 7:37 PM Zyr Ius wrote:
> For two upcoming projects I've been wanting to implement the V8 JavaScript
> engine as
Hi!
can you provide some stack traces, or at least some info on where it
actually crashes?
best
-jochen
On Mon, Nov 30, 2015 at 6:16 PM Mihail Slavchev
wrote:
> Hi guys,
>
> NativeScript developer here. We embed V8 (4.5.103) in android apps and I
> am trying to
Garbage collection is not necessarily triggered immediately when you
dispose a context. If you rely on freeing the C++ memory right when the
context goes out of scope, you can't rely on the GC to trigger at this very
moment.
best
-jochen
On Sat, Jan 9, 2016 at 5:01 PM Sergey F.
The reason we added V8_WARN_UNUSED_RESULT was that ignoring an exception
will lead to lots of unexpected and hard to debug behavior. This annotation
helps embedders to not miss any place where you have to check for an
exception.
On Fri, Jun 3, 2016 at 7:27 PM Ben Noordhuis
do the steps for MSVS outlined here work for you:
https://github.com/v8/v8/wiki/Building%20with%20Gyp
On Sat, Jun 4, 2016 at 6:11 PM blackthirt33n wrote:
> what are the official steps to bulid v8 on windows 8 using visual studio?
>
> --
> --
> v8-users mailing list
>
? Shall I work on a standalone reproducing test case?
>
>
> On Thursday, June 2, 2016 at 11:31:44 PM UTC-7, Jochen Eisinger wrote:
>
>> I suspect that profiling wasn't enabled at the time the function was
>> compiled. In that case, the information required for mapping code
Yes, it should work, but I'd recommend to just try it out to be sure
On Fri, Jun 10, 2016 at 4:36 AM Francisco Tolmasky
wrote:
> Not much more to say, just curious if I do Clone whether I'll also get the
> private symbols.
>
> Thanks,
>
> Francisco
>
> --
> --
> v8-users
Your input string is encoded as CESU-8, not UTF-8. Older versions of V8
would silently accept that encoding, however, this leads to broken behavior
when interacting with libraries actually expecting UTF-8, so we changed our
implementation to actually require UTF-8, and invalid characters are
I suspect that profiling wasn't enabled at the time the function was
compiled. In that case, the information required for mapping code positions
back to line numbers isn't available.
Jane Chen schrieb am Do., 2. Juni 2016, 20:40:
> Testing profiling against v8 4.6.88.
>
> I
error: 'utility' file not found
> #include
> ^
> 1 error generated.
> make[1]: ***
> [/home/ec2-user/v8/out/native/obj.target/v8_base/src/accessors.o] Error 1
> make[1]: Leaving directory `/home/ec2-user/v8/out'
> make: *** [native] Error 2
>
>
> On Wednesday, May
Have you considered using a less-easy-to-read format like asm.js, run a
obfuscator over the source, or put your IP into a binary node module?
On Tue, Jun 14, 2016, 3:33 PM Joe Bloggs
wrote:
> Hi,
>
> My employer is looking to shift major development to node.js.
I suspect you have to pass -Dclang=0 to gyp_v8
Your compiler should define __ARCH64EL__ if you pass -m64
best
jochen
On Fri, Jun 17, 2016, 2:10 PM kin wrote:
> Hi,
>
> I'm trying to cross compile the v8 engine. My host is an Ubuntu 14.04 x64,
> the target is arm64 and the
;
> On Wednesday, 11 May 2016 06:05:14 UTC+1, Jochen Eisinger wrote:
>
>> Could you file a bug please, if possible with a complete reproduction
>> case?
>>
>> Thanks
>> Jochen
>>
>> Joris Wijnant <wijnan...@gmail.com> schrieb am Mo.,
this is the git commit:
https://chromium.googlesource.com/v8/v8/+/8b8fb30e7f8915d0762402f0b6e5b16c820cab48
Have you considered setting a FatalErrorCallback and then tearing down the
entire isolate and the thread it lived on? That might be better than
crashing, although I'm not sure whether you
You'd install the FunctionTemplate on the instance_tmpl as a getter of an
accessor property
hth
-jochen
On Fri, Feb 5, 2016 at 5:35 AM Zac Hansen wrote:
>
>
> On Thursday, February 4, 2016 at 12:44:39 PM UTC-8, vmj...@extrahop.com
> wrote:
>>
>> This recent commit 6a118774
>>
In Blink, we store a pointer to a wrapper type info, and the void* on the
object. The wrapper type info struct is used to determine the type of the
void*. We also have some code that decides when you actually want to have
type S* but the void* points to a T* whether it's safe to cast from T* to
I assume you modified v8's source to require this library. In that case,
you'd add a 'libraries': [ '-lboost_regex' ] section to the corresponding
gyp target (e.g. in tools/gyp/v8.gyp if that's the target you modified)
best
-jochen
On Wed, Jan 27, 2016 at 4:36 PM Deepak Subramanian
A fix was landed here:
https://chromium.googlesource.com/v8/v8.git/+/d11b44ec69c718a9b3b11872e7638c5675abd02c
does
that resolve your issue?
On Mon, Jan 25, 2016 at 10:47 PM Jim Acquavella
wrote:
> I've filed this as a bug:
>
and threads. Is there any sample code or
> unit test code to demonstrate that?
>
>
> Thanks a lot in advance.
>
> Jane
>
>
> On Friday, January 22, 2016 at 12:55:50 AM UTC-8, Jochen Eisinger wrote:
>
>> can you post a standalone repro case? Otherwise, setting a b
I skimmed through the source you've linked, but it's not entirely clear to
me what you're actually doing. If you could post the non-working version
and the crash stack that might help.
Assuming you managed to get stuff working with strings, and are happy with
this solution, I guess that's fine,
I haven't heard of a similar issue so far. If you can't get a stacktrace of
all threads when this happens, you're next best option would be to run with
thread sanitizer support compiled in (requires clang)
On Wed, Feb 3, 2016 at 5:55 AM David Lattimore wrote:
> My application
you stack-allocate the ArrayBufferAllocator, so it'll get destructed at the
end of the Initialize() method.
You should allocate it on the heap instead, so it outlives that method.
best
-jochen
On Mon, Feb 1, 2016 at 10:17 PM George Corney wrote:
> Hey,
>
> I'm struggling
I suspect that your binary can't find the icudt.dll file. InitializeICU()
attempts to LoadLibraryA() that DLL.
On Sat, Feb 27, 2016 at 8:30 PM Jane Chen wrote:
> Embedding v8 4.6.88.
>
> On windows, I get a crash when I run the following:
>
> new
Please don't use Isolate::GetCurrent() - it's deprecated.
If you need to know whether the Isolate was disposed or not, why not
maintain a boolean flag on the worker thread that keeps track of the
isolate's state?
On Fri, Feb 26, 2016 at 7:16 PM Yutaka Hirano wrote:
> Hi,
1 - 100 of 230 matches
Mail list logo