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

Issue 2715213008: VM: Allow configuring use_field_guards on the per-isolate basis and include it into snapshot featur… (Closed)

Created:
3 years, 9 months ago by Vyacheslav Egorov (Google)
Modified:
3 years, 9 months ago
Reviewers:
rmacnak
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

VM: Allow configuring use_field_guards on the per-isolate basis and include it into snapshot features. We have tests that disable it but we train app-jit snapshot for Kernel with field guards enabled so we need to make sure that Kernel isolate runs with correct settings matching the settings at the time when app-jit snapshot was created. BUG= R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/a9a756df8e826eaa800c81692890316f74ee817b

Patch Set 1 #

Total comments: 2

Patch Set 2 : Done #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -13 lines) Patch
M runtime/include/dart_api.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/clustered_snapshot.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/dart.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/isolate.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/isolate.cc View 1 3 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/jit_optimizer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/kernel_isolate.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/kernel_to_il.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/object.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/snapshot.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (2 generated)
Vyacheslav Egorov (Google)
Hi Ryan, This is the last CL that needs to be landed before we can ...
3 years, 9 months ago (2017-02-28 16:23:46 UTC) #2
rmacnak
LGTM https://codereview.chromium.org/2715213008/diff/1/runtime/vm/kernel_isolate.cc File runtime/vm/kernel_isolate.cc (right): https://codereview.chromium.org/2715213008/diff/1/runtime/vm/kernel_isolate.cc#newcode71 runtime/vm/kernel_isolate.cc:71: Dart_IsolateFlags api_flags; Add a note that the settings ...
3 years, 9 months ago (2017-02-28 17:52:28 UTC) #3
Vyacheslav Egorov (Google)
Committed patchset #2 (id:20001) manually as a9a756df8e826eaa800c81692890316f74ee817b (presubmit successful).
3 years, 9 months ago (2017-02-28 20:17:21 UTC) #5
Vyacheslav Egorov (Google)
3 years, 9 months ago (2017-02-28 21:13:52 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/2715213008/diff/1/runtime/vm/kernel_isolate.cc
File runtime/vm/kernel_isolate.cc (right):

https://codereview.chromium.org/2715213008/diff/1/runtime/vm/kernel_isolate.c...
runtime/vm/kernel_isolate.cc:71: Dart_IsolateFlags api_flags;
On 2017/02/28 17:52:28, rmacnak wrote:
> Add a note that the settings here need to match the setting used during
training
> as found in //utils/kernel-service/BUILD.gn

Done.

Powered by Google App Engine
This is Rietveld 408576698