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

Issue 2925203002: Load service isolate from the kernel binary. (Closed)

Created:
3 years, 6 months ago by sivachandra
Modified:
3 years, 6 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1

Patch Set 2 : Update to take the new approach of loading the service isolate from a dill file. #

Patch Set 3 : Remove whitespace #

Total comments: 9

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -30 lines) Patch
M runtime/bin/dfe.h View 1 2 3 3 chunks +8 lines, -0 lines 0 comments Download
M runtime/bin/dfe.cc View 1 2 3 4 chunks +21 lines, -1 line 0 comments Download
M runtime/bin/main.cc View 1 2 3 5 chunks +63 lines, -29 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
sivachandra
This is not a request for review but to show the current implementation so that ...
3 years, 6 months ago (2017-06-08 00:09:43 UTC) #2
sivachandra
Also, as it stands now, the Python script (which generates the kernel data array) needs ...
3 years, 6 months ago (2017-06-08 00:13:16 UTC) #3
siva
Do you think Peter will have a fix soon for the bug? We may have ...
3 years, 6 months ago (2017-06-08 01:05:18 UTC) #4
ahe
On 2017/06/08 01:05:18, siva wrote: > Do you think Peter will have a fix soon ...
3 years, 6 months ago (2017-06-08 08:03:47 UTC) #5
sivachandra
On 2017/06/08 08:03:47, ahe wrote: > On 2017/06/08 01:05:18, siva wrote: > > Do you ...
3 years, 6 months ago (2017-06-08 16:21:06 UTC) #6
sivachandra
On 2017/06/08 16:21:06, sivachandra wrote: > On 2017/06/08 08:03:47, ahe wrote: > > On 2017/06/08 ...
3 years, 6 months ago (2017-06-08 17:54:32 UTC) #7
sivachandra
PTAL at patch set 3. The change there follows the approach of loading the service ...
3 years, 6 months ago (2017-06-13 01:10:52 UTC) #8
siva
LGTM with some comments. https://codereview.chromium.org/2925203002/diff/40001/runtime/bin/dfe.cc File runtime/bin/dfe.cc (right): https://codereview.chromium.org/2925203002/diff/40001/runtime/bin/dfe.cc#newcode96 runtime/bin/dfe.cc:96: return NULL; I think this ...
3 years, 6 months ago (2017-06-13 02:12:02 UTC) #10
sivachandra
https://codereview.chromium.org/2925203002/diff/40001/runtime/bin/dfe.cc File runtime/bin/dfe.cc (right): https://codereview.chromium.org/2925203002/diff/40001/runtime/bin/dfe.cc#newcode96 runtime/bin/dfe.cc:96: return NULL; On 2017/06/13 02:12:02, siva wrote: > I ...
3 years, 6 months ago (2017-06-14 19:25:57 UTC) #11
sivachandra
Patch set 4 addresses all the comments and rebased over all the dependent CLs which ...
3 years, 6 months ago (2017-06-21 17:47:56 UTC) #12
sivachandra
Committed patchset #4 (id:60001) manually as b0c2a382ca70bc0f2270e4b8c7ccc76167f256cc (presubmit successful).
3 years, 6 months ago (2017-06-21 19:16:50 UTC) #14
siva
https://codereview.chromium.org/2925203002/diff/40001/runtime/bin/main.cc File runtime/bin/main.cc (right): https://codereview.chromium.org/2925203002/diff/40001/runtime/bin/main.cc#newcode1069 runtime/bin/main.cc:1069: Dart_ShutdownIsolate(); On 2017/06/14 19:25:57, sivachandra wrote: > On 2017/06/13 ...
3 years, 6 months ago (2017-06-21 20:01:26 UTC) #15
sivachandra
3 years, 6 months ago (2017-06-21 20:26:07 UTC) #16
Message was sent while issue was closed.
On 2017/06/21 20:01:26, siva wrote:
> https://codereview.chromium.org/2925203002/diff/40001/runtime/bin/main.cc
> File runtime/bin/main.cc (right):
> 
>
https://codereview.chromium.org/2925203002/diff/40001/runtime/bin/main.cc#new...
> runtime/bin/main.cc:1069: Dart_ShutdownIsolate();
> On 2017/06/14 19:25:57, sivachandra wrote:
> > On 2017/06/13 02:12:02, siva wrote:
> > > Why does shutdown isolate need to be called here? the isolate has not
> started
> > > running right, it has just been created and the vmservice app has been
> loaded
> > > into it.
> > 
> > I thought ShutdownIsolate reverses the side effects of CreateIsolate. Since
we
> > already created the isolate at this point, how to effect a reversal? Should
it
> > be done at all?
> 
> You are right I did not see that the isolate was created and an
> Dart_EnterScope() had already been done.
> 
> So the code would be:
> Dart_ExitScope();
> Dart_ShutdownIsolate();

Yes; patch set 4 does that now, but unfortunately, I am having to revert this.

Powered by Google App Engine
This is Rietveld 408576698