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

Issue 2728163002: VM: Make use_osr an Isolate flag, similar to how we made use_field_guards. (Closed)

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

Description

VM: Make use_osr an Isolate flag, similar to how we made use_field_guards. In Debug mode we have assertions checking that we don't attempt OSR when FLAG_use_osr is disabled - however app-jit snapshots are compiled with OSR enabled and still contain countining and OSR attempting code, which causes assertions to fail. Refactor how getters for isolate flags are defined, consolidate all flags into a single list. Update test expectations and switch -c dartk configuration to use app-jit snapshot. BUG= R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/021f933f6970dd6d62445f27c334b55df8233665

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -67 lines) Patch
M runtime/include/dart_api.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/code_generator.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/dart.cc View 1 chunk +7 lines, -9 lines 1 comment Download
M runtime/vm/debugger_api_impl_test.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language_arm64.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/isolate.h View 3 chunks +26 lines, -15 lines 0 comments Download
M runtime/vm/isolate.cc View 1 chunk +11 lines, -15 lines 0 comments Download
M runtime/vm/kernel_isolate.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M tests/co19/co19-kernel.status View 1 chunk +1 line, -0 lines 0 comments Download
M tests/language/language_kernel.status View 2 chunks +3 lines, -3 lines 0 comments Download
M tools/testing/dart/compiler_configuration.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (4 generated)
Vyacheslav Egorov (Google)
Hi Martin & Ryan! Please take a look.
3 years, 9 months ago (2017-03-03 16:17:18 UTC) #3
Florian Schneider
It seems that now we have to potentially make a lot of flags isolate flags. ...
3 years, 9 months ago (2017-03-03 16:59:51 UTC) #5
Vyacheslav Egorov (Google)
I don't anticipate as adding many more flags here (maybe things like heap verification, stress ...
3 years, 9 months ago (2017-03-03 17:08:24 UTC) #6
rmacnak
On 2017/03/03 17:08:24, Vyacheslav Egorov (Google) wrote: > I don't anticipate as adding many more ...
3 years, 9 months ago (2017-03-03 17:44:57 UTC) #7
rmacnak
https://codereview.chromium.org/2728163002/diff/1/runtime/vm/dart.cc File runtime/vm/dart.cc (right): https://codereview.chromium.org/2728163002/diff/1/runtime/vm/dart.cc#newcode677 runtime/vm/dart.cc:677: ISOLATE_FLAG_LIST(ADD_FLAG); The snapshot should still work even if FLAG_error_on_bad_type ...
3 years, 9 months ago (2017-03-03 17:45:15 UTC) #8
Vyacheslav Egorov (Google)
3 years, 9 months ago (2017-03-03 18:02:29 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
021f933f6970dd6d62445f27c334b55df8233665 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698