Comment #5 on issue 2531 by [email protected]: Crash on Android in
v8::V8::GetHeapStatistics
http://code.google.com/p/v8/issues/detail?id=2531
Without testing it, I have a suspicion: This crash is probably once again a
consequence of bad API design, GetHeapStatistics should really require an
explicit Isolate. :-/
At the point where you call it, there is probably no current Isolate,
because you are either on the wrong thread or have not yet entered any
Isolate. Note that on Android platforms v8's global initializer creating
the default Isolate is run on a thread different from the main thread, so
things are a bit more tricky when you want to use the implicit default
Isolate.
Anyway, I'll add a version of GetHeapStatistics with an explicit Isolate
parameter and deprecate the current one.
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.