Reviewers: Vitaly Repeshko,
Message:
TBR=vitalyr
Vitaly, sorry for TBR - this would better be reviewed before landing of
course.
I'll incorporate all the changes you suggest. (I am trying to clean the way
to
run Chromium try bots for all 3 platforms to see if we have more issues.)
This one was breaking workers - in a worker process, the static initializer
thread and subsequent worker threads are different and Chrome was trying to
call
things like v8::V8::IgnoreOutOfMemoryException() with NULL in TLS.
We have EnsureInitialized, but it will do complete Setup, which is too
early for
at least 3 methods I modified here.
Also changed the test (HugeConsStringOutOfMemory) - it was trying to change
heap
size after creating context handle, which simply returns fast. The added
ASSERT
in SetResourceConstraints helps to find such misusages.
Description:
[Isolates] Enter default isolate in initializing API.
Please review this at http://codereview.chromium.org/6672029/
SVN Base: http://v8.googlecode.com/svn/branches/experimental/isolates/
Affected files:
M src/api.cc
M test/cctest/test-api.cc
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev