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

Issue 10450016: Add a callback to inform embedders when an isolate is being shut down. (Closed)

Created:
8 years, 7 months ago by turnidge
Modified:
8 years, 5 months ago
Reviewers:
Mads Ager (google)
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Anton Muhin
Visibility:
Public.

Description

Add a callback to inform embedders when an isolate is being shut down. Committed: https://code.google.com/p/dart/source/detail?r=9211

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -35 lines) Patch
M bin/gen_snapshot.cc View 1 chunk +1 line, -1 line 0 comments Download
M bin/main.cc View 1 chunk +1 line, -1 line 0 comments Download
M bin/run_vm_tests.cc View 1 chunk +1 line, -1 line 0 comments Download
M include/dart_api.h View 3 chunks +22 lines, -3 lines 0 comments Download
M vm/dart.h View 1 chunk +2 lines, -1 line 0 comments Download
M vm/dart.cc View 3 chunks +9 lines, -1 line 0 comments Download
M vm/dart_api_impl.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M vm/dart_api_impl_test.cc View 1 chunk +33 lines, -1 line 0 comments Download
M vm/isolate.h View 2 chunks +20 lines, -4 lines 0 comments Download
M vm/isolate.cc View 1 chunk +1 line, -20 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
turnidge
Mads, I recall that you needed an isolate shutdown callback. Does this look like it ...
8 years, 7 months ago (2012-05-24 17:16:53 UTC) #1
Mads Ager (google)
8 years, 7 months ago (2012-05-25 05:47:03 UTC) #2
LGTM!

Yes, this would cover our needs. We have an event handler thread per isolate
that uses poll (the high-performance equivalent for the given platform) on a
bunch of file descriptors. This would allow us to stop those threads. Thanks!

Powered by Google App Engine
This is Rietveld 408576698