Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(402)

Issue 6672029: [Isolates] Enter default isolate in initializing API. (Closed)

Created:
9 years, 9 months ago by Dmitry Titov
Modified:
9 years, 7 months ago
Reviewers:
Vitaly Repeshko
CC:
v8-dev
Visibility:
Public.

Description

[Isolates] Enter default isolate in initializing API. Committed: http://code.google.com/p/v8/source/detail?r=7187

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : [Isolates] Enter default isolate in initializing API. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -10 lines) Patch
M src/api.cc View 1 2 3 4 chunks +28 lines, -8 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 3 chunks +63 lines, -2 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
Dmitry Titov
9 years, 9 months ago (2011-03-16 01:25:18 UTC) #1
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.

Powered by Google App Engine
This is Rietveld 408576698