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

Issue 2897853002: [gin] Make a new IsolateHolder ctor for snapshot (Closed)

Created:
3 years, 7 months ago by peria
Modified:
3 years, 6 months ago
CC:
blink-reviews, cbentzel+watch_chromium.org, chromium-reviews, haraken, kinuko+watch, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Make a new IsolateHolder constructor to take snapshot with. It instantiates v8::SnapshotCreator and SnapshotCreator creates an isolate in its ctor. BUG=617892 Review-Url: https://codereview.chromium.org/2897853002 Cr-Commit-Position: refs/heads/master@{#475548} Committed: https://chromium.googlesource.com/chromium/src/+/da9d8be45f28dd326e79b9a15bffe0ab4bfd1858

Patch Set 1 : . #

Patch Set 2 : Have a new constructor for given isolate #

Patch Set 3 : Create SnapshotCreator in IsolateHolder #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -0 lines) Patch
M gin/isolate_holder.cc View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M gin/public/isolate_holder.h View 1 2 3 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (24 generated)
peria
PTL. As a background: We will use a given isolate in taking a snapshot of ...
3 years, 7 months ago (2017-05-22 07:30:51 UTC) #14
jochen (gone - plz use gerrit)
Ideally, the lifetime of IsolateHolder and the v8::Isolate should be tightly coupled. It seems to ...
3 years, 7 months ago (2017-05-22 11:39:14 UTC) #18
peria
On 2017/05/22 11:39:14, jochen wrote: > Ideally, the lifetime of IsolateHolder and the v8::Isolate should ...
3 years, 7 months ago (2017-05-22 14:43:21 UTC) #19
jochen (gone - plz use gerrit)
what about adding a static gin::IsolateHolder::CreateForSnapshot or similar?
3 years, 7 months ago (2017-05-23 07:14:37 UTC) #20
peria
Sorry for late update. PTAL. I create a new constructor for a given isolate. V8PerIsolateData ...
3 years, 6 months ago (2017-05-30 02:56:54 UTC) #21
jochen (gone - plz use gerrit)
What about IsolateHolder::IsolateHolder(intptr_t* external_references, v8::StartupData* existing_blob);?
3 years, 6 months ago (2017-05-30 11:51:14 UTC) #26
peria
On 2017/05/30 11:51:14, jochen wrote: > What about IsolateHolder::IsolateHolder(intptr_t* external_references, > v8::StartupData* existing_blob);? Makes sense. ...
3 years, 6 months ago (2017-05-30 13:45:01 UTC) #28
jochen (gone - plz use gerrit)
lgtm
3 years, 6 months ago (2017-05-30 13:59:56 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2897853002/80001
3 years, 6 months ago (2017-05-30 14:30:24 UTC) #31
commit-bot: I haz the power
3 years, 6 months ago (2017-05-30 16:08:49 UTC) #34
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/da9d8be45f28dd326e79b9a15bff...

Powered by Google App Engine
This is Rietveld 408576698