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

Issue 2566002: [Isolates] Isolate API: first draft. (Closed)

Created:
10 years, 6 months ago by Vitaly Repeshko
Modified:
9 years, 7 months ago
Reviewers:
iposva, Feng, maxim.mossienko, Dmitry Titov, Mads Ager (chromium)
CC:
v8-dev
Visibility:
Public.

Description

[Isolates] Isolate API: first draft. Committed: http://code.google.com/p/v8/source/detail?r=5004

Patch Set 1 #

Patch Set 2 : Just the API #

Total comments: 15

Patch Set 3 : Review fixes #

Patch Set 4 : Rebased on ToT #

Total comments: 10

Patch Set 5 : Review fixes #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -0 lines) Patch
M include/v8.h View 1 2 3 4 1 chunk +83 lines, -0 lines 7 comments Download

Messages

Total messages: 16 (0 generated)
Vitaly Repeshko
10 years, 6 months ago (2010-06-03 11:57:41 UTC) #1
Maxim.Mossienko
http://codereview.chromium.org/2566002/diff/3001/4001 File include/v8.h (right): http://codereview.chromium.org/2566002/diff/3001/4001#newcode2448 include/v8.h:2448: Isolate& operator=(const Isolate&); don't we need internal::Isolate* isolate_; as ...
10 years, 6 months ago (2010-06-03 12:49:40 UTC) #2
Mads Ager (chromium)
Initial set of comments as discussed offline. http://codereview.chromium.org/2566002/diff/3001/4001 File include/v8.h (right): http://codereview.chromium.org/2566002/diff/3001/4001#newcode2388 include/v8.h:2388: * Isolate ...
10 years, 6 months ago (2010-06-03 14:05:46 UTC) #3
Vitaly Repeshko
Please take another look. Thanks, Vitaly http://codereview.chromium.org/2566002/diff/3001/4001 File include/v8.h (right): http://codereview.chromium.org/2566002/diff/3001/4001#newcode2388 include/v8.h:2388: * Isolate represents ...
10 years, 6 months ago (2010-06-03 15:06:57 UTC) #4
Maxim.Mossienko
http://codereview.chromium.org/2566002/diff/3001/4001 File include/v8.h (right): http://codereview.chromium.org/2566002/diff/3001/4001#newcode2448 include/v8.h:2448: Isolate& operator=(const Isolate&); I am fine if there will ...
10 years, 6 months ago (2010-06-03 15:47:48 UTC) #5
Dmitry Titov
http://codereview.chromium.org/2566002/diff/12001/4 File include/v8.h (right): http://codereview.chromium.org/2566002/diff/12001/4#newcode2424 include/v8.h:2424: static Isolate* New(); Do we also need New(ResourceConstraints*) variant?
10 years, 6 months ago (2010-06-03 16:47:50 UTC) #6
iposva
http://codereview.chromium.org/2566002/diff/12001/4 File include/v8.h (right): http://codereview.chromium.org/2566002/diff/12001/4#newcode2387 include/v8.h:2387: /** What bothers me about this API is the ...
10 years, 6 months ago (2010-06-03 17:02:09 UTC) #7
Dmitry Titov
> What bothers me about this API is the implicit chaining of isolates. Basically > ...
10 years, 6 months ago (2010-06-03 17:16:45 UTC) #8
Vitaly Repeshko
http://codereview.chromium.org/2566002/diff/12001/4 File include/v8.h (right): http://codereview.chromium.org/2566002/diff/12001/4#newcode2387 include/v8.h:2387: /** On 2010/06/03 17:02:09, iposva wrote: > What bothers ...
10 years, 6 months ago (2010-06-04 07:55:39 UTC) #9
Dmitry Titov
The patch LGTM :-) Mads, Ivan - is this shape of API ok to go? ...
10 years, 5 months ago (2010-06-30 22:03:49 UTC) #10
Mads Ager (chromium)
The API looks good to me and we can iterate on it once it is ...
10 years, 5 months ago (2010-07-01 07:04:10 UTC) #11
Maxim.Mossienko
http://codereview.chromium.org/2566002/diff/17001/18001 File include/v8.h (right): http://codereview.chromium.org/2566002/diff/17001/18001#newcode2388 include/v8.h:2388: * Isolate represents an isolated instace of the V8 ...
10 years, 5 months ago (2010-07-01 08:31:50 UTC) #12
Maxim.Mossienko
http://codereview.chromium.org/2566002/diff/17001/18001 File include/v8.h (right): http://codereview.chromium.org/2566002/diff/17001/18001#newcode2394 include/v8.h:2394: * given time. The Locker/Unlocker API can be used ...
10 years, 5 months ago (2010-07-01 09:17:02 UTC) #13
Dmitry Titov
Maxim, you have some good comments about possible future steps, indeed Lockers are not yet ...
10 years, 5 months ago (2010-07-01 18:56:46 UTC) #14
Vitaly Repeshko
Thanks everyone for comments! This is now landed. -- Vitaly http://codereview.chromium.org/2566002/diff/17001/18001 File include/v8.h (right): http://codereview.chromium.org/2566002/diff/17001/18001#newcode2388 ...
10 years, 5 months ago (2010-07-01 22:00:57 UTC) #15
Feng
10 years ago (2010-12-08 06:50:32 UTC) #16
What's the status of Isolate?

On 2010/07/01 22:00:57, Vitaly wrote:
> Thanks everyone for comments! This is now landed.
> 
> 
> -- Vitaly
> 
> http://codereview.chromium.org/2566002/diff/17001/18001
> File include/v8.h (right):
> 
> http://codereview.chromium.org/2566002/diff/17001/18001#newcode2388
> include/v8.h:2388: * Isolate represents an isolated instace of the V8 engine. 
> V8
> On 2010/07/01 08:31:50, Maxim.Mossienko wrote:
> > typo: instace -> instance
> 
> Fixed.
> 
> http://codereview.chromium.org/2566002/diff/17001/18001#newcode2433
> include/v8.h:2433: * Methods below this point require holding a lock in a
> On 2010/07/01 08:31:50, Maxim.Mossienko wrote:
> > IMO bare 'lock' word is confusing in the description (given Locker class
> > existence), 'caller managed exclusive thread access' is better description
> 
> Clarified how the embedder is supposed to hold a lock.

Powered by Google App Engine
This is Rietveld 408576698