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

Issue 1162033005: Fix http://dartbug.com/23578: (Closed)

Created:
5 years, 6 months ago by Ivan Posva
Modified:
5 years, 6 months ago
Reviewers:
Florian Schneider, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org, ricow1
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix http://dartbug.com/23578: - Complete revamp of isolate-specific flags. - Associate flags with the isolate on creation. - Dart_CreateIsolate and associate callback do take an extra flags argument. - Make sure to clear IC data array when clearing code. BUG=23578 Committed: https://github.com/dart-lang/sdk/commit/f5e3f94019a378455a59174c931cf0cb5b5cb212

Patch Set 1 #

Patch Set 2 : Update to ToT. #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+388 lines, -226 lines) Patch
M runtime/bin/gen_snapshot.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M runtime/bin/main.cc View 5 chunks +8 lines, -0 lines 0 comments Download
M runtime/bin/vmservice_dartium.cc View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/include/dart_api.h View 5 chunks +23 lines, -0 lines 0 comments Download
M runtime/lib/isolate.cc View 3 chunks +16 lines, -20 lines 0 comments Download
M runtime/lib/object.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/ast.cc View 9 chunks +31 lines, -22 lines 0 comments Download
M runtime/vm/benchmark_test.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/class_finalizer.cc View 8 chunks +7 lines, -11 lines 0 comments Download
M runtime/vm/code_generator.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/compiler.cc View 3 chunks +5 lines, -0 lines 0 comments Download
M runtime/vm/compiler_test.cc View 3 chunks +1 line, -6 lines 2 comments Download
M runtime/vm/dart.h View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/dart.cc View 2 chunks +10 lines, -3 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 4 chunks +16 lines, -4 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 6 chunks +7 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 12 chunks +22 lines, -17 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language_arm64.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M runtime/vm/intrinsifier.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intrinsifier_arm.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/intrinsifier_arm64.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/intrinsifier_ia32.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/intrinsifier_mips.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/intrinsifier_x64.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/isolate.h View 8 chunks +54 lines, -27 lines 1 comment Download
M runtime/vm/isolate.cc View 12 chunks +73 lines, -12 lines 3 comments Download
M runtime/vm/isolate_test.cc View 1 chunk +4 lines, -1 line 0 comments Download
M runtime/vm/metrics_test.cc View 2 chunks +8 lines, -2 lines 0 comments Download
M runtime/vm/object.cc View 11 chunks +13 lines, -12 lines 0 comments Download
M runtime/vm/parser.cc View 14 chunks +15 lines, -33 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/service.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/service_isolate.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/thread_test.cc View 2 chunks +8 lines, -2 lines 0 comments Download
M runtime/vm/unit_test.h View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/zone_test.cc View 4 chunks +16 lines, -4 lines 0 comments Download
M tests/isolate/isolate.status View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 6 (1 generated)
Ivan Posva
5 years, 6 months ago (2015-06-07 12:16:01 UTC) #2
Ivan Posva
TBR to give enough time to cycle on the bots... -Ivan
5 years, 6 months ago (2015-06-07 15:56:34 UTC) #3
Ivan Posva
Committed patchset #2 (id:20001) manually as f5e3f94019a378455a59174c931cf0cb5b5cb212 (presubmit successful).
5 years, 6 months ago (2015-06-07 15:57:41 UTC) #4
Florian Schneider
lgtm https://codereview.chromium.org/1162033005/diff/20001/runtime/vm/compiler_test.cc File runtime/vm/compiler_test.cc (right): https://codereview.chromium.org/1162033005/diff/20001/runtime/vm/compiler_test.cc#newcode82 runtime/vm/compiler_test.cc:82: // Isolate::Current()->flags().set_checked(true); Why is this commmented out? https://codereview.chromium.org/1162033005/diff/20001/runtime/vm/isolate.cc ...
5 years, 6 months ago (2015-06-08 11:25:49 UTC) #5
Ivan Posva
5 years, 6 months ago (2015-06-08 11:53:57 UTC) #6
Message was sent while issue was closed.
Thanks,
-ivan

https://codereview.chromium.org/1162033005/diff/20001/runtime/vm/compiler_tes...
File runtime/vm/compiler_test.cc (right):

https://codereview.chromium.org/1162033005/diff/20001/runtime/vm/compiler_tes...
runtime/vm/compiler_test.cc:82: //
Isolate::Current()->flags().set_checked(true);
On 2015/06/08 11:25:49, Florian Schneider wrote:
>  Why is this commmented out?

Because it is being enabled after the isolate has already been setup, which is
not a good thing to do.

As discussed I will change the code above to do an explicit check for subtype of
A.

Powered by Google App Engine
This is Rietveld 408576698