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

Issue 2671133002: Fix for issue 28606 - Wait for thread that runs the interrupted isolate to exit completely before e… (Closed)

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

Description

Fix for issue 28606 - Wait for thread that runs the interrupted isolate to exit completely before exiting the main thread, we get into racy cleanup otherwise. R=fschneider@google.com Committed: https://github.com/dart-lang/sdk/commit/3f48197f370a393ae57811c7db51dda061d21d54

Patch Set 1 #

Patch Set 2 : Address self review comments. #

Patch Set 3 : Address self review comments. #

Total comments: 4

Patch Set 4 : Address code review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -0 lines) Patch
M runtime/vm/debugger_api_impl_test.cc View 1 2 3 4 chunks +22 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
siva
3 years, 10 months ago (2017-02-04 02:33:50 UTC) #2
hausner
DBC https://codereview.chromium.org/2671133002/diff/40001/runtime/vm/debugger_api_impl_test.cc File runtime/vm/debugger_api_impl_test.cc (right): https://codereview.chromium.org/2671133002/diff/40001/runtime/vm/debugger_api_impl_test.cc#newcode1590 runtime/vm/debugger_api_impl_test.cc:1590: EXPECT(interrupt_isolate_id == ILLEGAL_ISOLATE_ID); I guess we could eliminate ...
3 years, 10 months ago (2017-02-04 06:18:37 UTC) #4
siva
https://codereview.chromium.org/2671133002/diff/40001/runtime/vm/debugger_api_impl_test.cc File runtime/vm/debugger_api_impl_test.cc (right): https://codereview.chromium.org/2671133002/diff/40001/runtime/vm/debugger_api_impl_test.cc#newcode1590 runtime/vm/debugger_api_impl_test.cc:1590: EXPECT(interrupt_isolate_id == ILLEGAL_ISOLATE_ID); On 2017/02/04 06:18:37, hausner wrote: > ...
3 years, 10 months ago (2017-02-06 20:15:16 UTC) #5
Florian Schneider
Lgtm. https://codereview.chromium.org/2671133002/diff/40001/runtime/vm/debugger_api_impl_test.cc File runtime/vm/debugger_api_impl_test.cc (right): https://codereview.chromium.org/2671133002/diff/40001/runtime/vm/debugger_api_impl_test.cc#newcode1553 runtime/vm/debugger_api_impl_test.cc:1553: interrupt_thread_stopped = false; Could the other thread see ...
3 years, 10 months ago (2017-02-06 21:02:28 UTC) #6
siva
https://codereview.chromium.org/2671133002/diff/40001/runtime/vm/debugger_api_impl_test.cc File runtime/vm/debugger_api_impl_test.cc (right): https://codereview.chromium.org/2671133002/diff/40001/runtime/vm/debugger_api_impl_test.cc#newcode1553 runtime/vm/debugger_api_impl_test.cc:1553: interrupt_thread_stopped = false; On 2017/02/06 21:02:28, Florian Schneider wrote: ...
3 years, 10 months ago (2017-02-06 21:17:41 UTC) #7
siva
3 years, 10 months ago (2017-02-07 00:26:02 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
3f48197f370a393ae57811c7db51dda061d21d54 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698