dart-sdk/runtime/bin
Zachary Anderson 0c3d73967d VM eventhandler: Update epoll/kqueue even if the only event is an error
Otherwise, we may try to add an fd to epoll/kqueue when it is already
there.

Also avoid sending multiple notifications on an error.

related #24417

R=fschneider@google.com

Review-Url: https://codereview.chromium.org/2655893002 .
2017-01-25 13:50:00 -08:00
..
vmservice Fuchsia: Disable service origin check. Bind service to all interfaces. 2017-01-13 12:27:17 -08:00
zlib Format GN files and add a presubmit check that GN is properly formatted 2016-10-26 08:50:54 -07:00
address_sanitizer.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
bin.gypi Revert "Reintroducing MallocHooks changes with fix for infinite loop in MallocHooks on Platform::Exit." 2017-01-20 23:52:31 -08:00
BUILD.gn Revert "Reintroducing MallocHooks changes with fix for infinite loop in MallocHooks on Platform::Exit." 2017-01-20 23:52:31 -08:00
builtin.cc VM: Support bootstrapping core libraries from Kernel binaries instead of source. 2016-11-16 13:56:20 +01:00
builtin.dart Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork." 2016-10-27 10:09:22 +02:00
builtin.h clang-format runtime/bin 2016-11-04 12:30:56 -07:00
builtin_common.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
builtin_gen_snapshot.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
builtin_impl_sources.gypi Fuchsia: Partial implementation of dart:io sockets 2016-11-20 22:04:14 -08:00
builtin_in.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
builtin_natives.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
builtin_nolib.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
builtin_sources.gypi Lazy loading of deferred libraries 2014-06-13 22:43:31 +00:00
common_patch.dart Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork." 2016-10-27 10:09:22 +02:00
crypto.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
crypto.h clang-format runtime/bin 2016-11-04 12:30:56 -07:00
crypto_android.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
crypto_fuchsia.cc Fuchsia: fix build 2016-12-08 12:28:52 -08:00
crypto_linux.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
crypto_macos.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
crypto_test.cc Fuchsia: Use low-level prng call, add test, update test runner. 2016-08-02 13:18:37 -07:00
crypto_win.cc Fixes some memory leaks in //runtime/bin 2016-03-14 11:08:52 -07:00
dart_entries.txt GN Build fixes for Flutter + gen_snapshot fix 2016-04-22 07:00:03 -07:00
dart_io_entries.txt AOT: Add missing native entry points for secure sockets. 2016-10-12 13:04:22 -07:00
dart_product_entries.txt Standalone: Add missing tree-shaker root. 2016-09-20 14:44:05 -07:00
dartutils.cc VM: Fix incorrect free in TryReadKernel. 2016-11-16 14:40:57 +01:00
dartutils.h Reload native extensions when starting from a snapshot. 2016-11-07 16:17:47 -08:00
directory.cc VM: Fix asan memory leak in some standalone tests 2017-01-23 19:45:28 +01:00
directory.h VM: Fix asan memory leak in some standalone tests 2017-01-23 19:45:28 +01:00
directory_android.cc Fix directory existence query error 2016-12-16 20:58:52 -08:00
directory_fuchsia.cc Fuchsia: Build an OS image that includes Dart's test suite. 2017-01-19 10:11:27 -08:00
directory_linux.cc Fix directory existence query error 2016-12-16 20:58:52 -08:00
directory_macos.cc Fix directory existence query error 2016-12-16 20:58:52 -08:00
directory_patch.dart Implement @patch annotation for patch class members 2016-08-10 12:54:57 -07:00
directory_test.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
directory_unsupported.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
directory_win.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
embedded_dart_io.cc Fix DevFS on Android devices 2016-07-18 10:45:53 -07:00
embedded_dart_io.h Make header include guards great again 2016-10-26 00:26:03 -07:00
eventhandler.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
eventhandler.h clang-format runtime/bin 2016-11-04 12:30:56 -07:00
eventhandler_android.cc VM eventhandler: Update epoll/kqueue even if the only event is an error 2017-01-25 13:50:00 -08:00
eventhandler_android.h clang-format runtime/bin 2016-11-04 12:30:56 -07:00
eventhandler_fuchsia.cc VM eventhandler: Update epoll/kqueue even if the only event is an error 2017-01-25 13:50:00 -08:00
eventhandler_fuchsia.h Fuchsia: Partial implementation of dart:io sockets 2016-11-20 22:04:14 -08:00
eventhandler_linux.cc VM eventhandler: Update epoll/kqueue even if the only event is an error 2017-01-25 13:50:00 -08:00
eventhandler_linux.h clang-format runtime/bin 2016-11-04 12:30:56 -07:00
eventhandler_macos.cc VM eventhandler: Update epoll/kqueue even if the only event is an error 2017-01-25 13:50:00 -08:00
eventhandler_macos.h clang-format runtime/bin 2016-11-04 12:30:56 -07:00
eventhandler_patch.dart Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork." 2016-10-27 10:09:22 +02:00
eventhandler_test.cc Reorder includes and remove platform/globals include 2015-02-11 17:24:37 +00:00
eventhandler_unsupported.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
eventhandler_win.cc Fix Windows debug assertion when cancelling pending i/o 2017-01-24 17:33:51 -08:00
eventhandler_win.h clang-format runtime/bin 2016-11-04 12:30:56 -07:00
extensions.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
extensions.h Make header include guards great again 2016-10-26 00:26:03 -07:00
extensions_android.cc Refactor snapshots pieces to include a section for loading instructions into the heap of a regular isolate. 2017-01-23 10:25:02 -08:00
extensions_fuchsia.cc Refactor snapshots pieces to include a section for loading instructions into the heap of a regular isolate. 2017-01-23 10:25:02 -08:00
extensions_linux.cc Refactor snapshots pieces to include a section for loading instructions into the heap of a regular isolate. 2017-01-23 10:25:02 -08:00
extensions_macos.cc Refactor snapshots pieces to include a section for loading instructions into the heap of a regular isolate. 2017-01-23 10:25:02 -08:00
extensions_win.cc Refactor snapshots pieces to include a section for loading instructions into the heap of a regular isolate. 2017-01-23 10:25:02 -08:00
fdutils.h Fuchsia: Partial implementation of dart:io sockets 2016-11-20 22:04:14 -08:00
fdutils_android.cc Fuchsia: Partial implementation of dart:io sockets 2016-11-20 22:04:14 -08:00
fdutils_fuchsia.cc Fuchsia: dart:io Processes 2016-12-13 11:09:55 -08:00
fdutils_linux.cc Fuchsia: Partial implementation of dart:io sockets 2016-11-20 22:04:14 -08:00
fdutils_macos.cc Fuchsia: Partial implementation of dart:io sockets 2016-11-20 22:04:14 -08:00
file.cc Make RandomAccessFile.writeFrom use the correct starting offset 2017-01-04 09:33:28 -08:00
file.h clang-format runtime/bin 2016-11-04 12:30:56 -07:00
file_android.cc Standardize errno's from a few dart:io File and Link calls 2017-01-04 13:09:07 -08:00
file_fuchsia.cc Standardize errno's from a few dart:io File and Link calls 2017-01-04 13:09:07 -08:00
file_linux.cc Standardize errno's from a few dart:io File and Link calls 2017-01-04 13:09:07 -08:00
file_macos.cc Standardize errno's from a few dart:io File and Link calls 2017-01-04 13:09:07 -08:00
file_patch.dart Fixes to patch files necessary to use the analyzer 2017-01-05 12:23:51 +01:00
file_support.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
file_system_entity_patch.dart Implement @patch annotation for patch class members 2016-08-10 12:54:57 -07:00
file_system_watcher.cc Really remove io support when dart:io is unsupported. 2016-03-29 11:22:03 -07:00
file_system_watcher.h clang-format runtime/bin 2016-11-04 12:30:56 -07:00
file_system_watcher_android.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
file_system_watcher_fuchsia.cc Fuchsia: Build standalone VM. Make it run "Hello, World!". 2016-07-22 14:00:31 -07:00
file_system_watcher_linux.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
file_system_watcher_macos.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
file_system_watcher_unsupported.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
file_system_watcher_win.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
file_test.cc Fixes leak of native File objects. 2016-04-20 10:08:37 -07:00
file_unsupported.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
file_win.cc Signal an error for File.lastModified on a directory 2017-01-04 07:50:35 -08:00
filter.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
filter.h clang-format runtime/bin 2016-11-04 12:30:56 -07:00
filter_patch.dart Implement @patch annotation for patch class members 2016-08-10 12:54:57 -07:00
filter_unsupported.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
gen_snapshot.cc Refactor snapshots pieces to include a section for loading instructions into the heap of a regular isolate. 2017-01-23 10:25:02 -08:00
gypi_contents.gni [gn] Consolidate exec_script calls to speed up generation 2016-11-12 10:57:01 -08:00
hashmap_test.cc VM: Remove unused (and incomplete) HashMap::Remove() function 2016-12-01 13:51:49 +01:00
io_buffer.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
io_buffer.h clang-format runtime/bin 2016-11-04 12:30:56 -07:00
io_impl_sources.gypi Fuchsia: Build standalone VM. Make it run "Hello, World!". 2016-07-22 14:00:31 -07:00
io_natives.cc Error checking for Stdio calls 2016-12-15 11:12:42 -08:00
io_natives.h Make header include guards great again 2016-10-26 00:26:03 -07:00
io_service.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
io_service.h clang-format runtime/bin 2016-11-04 12:30:56 -07:00
io_service_no_ssl.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
io_service_no_ssl.h clang-format runtime/bin 2016-11-04 12:30:56 -07:00
io_service_patch.dart Implement @patch annotation for patch class members 2016-08-10 12:54:57 -07:00
io_service_unsupported.cc Really remove io support when dart:io is unsupported. 2016-03-29 11:22:03 -07:00
io_sources.gypi Add IO service object handler, with initial implementation for HTTP server. 2014-05-21 11:12:49 +00:00
isolate_data.h Don't use IsolateData for the exit hook as multiple embedders share the dart/bin while using different isolate data structures. 2016-10-31 15:56:25 -07:00
loader.cc Add Kernel Isolate, second attempt 2016-12-07 09:11:16 -08:00
loader.h Add Kernel Isolate, second attempt 2016-12-07 09:11:16 -08:00
lockers.h clang-format runtime/bin 2016-11-04 12:30:56 -07:00
log.h Make header include guards great again 2016-10-26 00:26:03 -07:00
log_android.cc Don't include usage counters, etc in snapshots with code. If we already have code, eagerly recompiling in unlikely to have new type feedback. 2016-11-22 09:59:06 -08:00
log_fuchsia.cc Fuchsia: Add native symbol resolver. Small fixes. 2016-10-20 13:39:35 -07:00
log_linux.cc Don't include usage counters, etc in snapshots with code. If we already have code, eagerly recompiling in unlikely to have new type feedback. 2016-11-22 09:59:06 -08:00
log_macos.cc Cleanup in //runtime/bin 2016-03-16 10:01:00 -07:00
log_win.cc Cleanup in //runtime/bin 2016-03-16 10:01:00 -07:00
main.cc Refactor snapshots pieces to include a section for loading instructions into the heap of a regular isolate. 2017-01-23 10:25:02 -08:00
observatory_assets_empty.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
platform.cc Re-enable Platform.executable under precompilation. 2016-11-11 16:19:02 -08:00
platform.h clang-format runtime/bin 2016-11-04 12:30:56 -07:00
platform_android.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
platform_fuchsia.cc Fuchsia: resolve executable name, fetch environment vars 2016-12-16 21:23:20 -08:00
platform_linux.cc Fix product and Mac build. 2016-11-23 10:47:44 -08:00
platform_macos.cc Fix product and Mac build. 2016-11-23 10:47:44 -08:00
platform_patch.dart VM: Remove _nativeScript external. JS has no equivalent. 2016-11-16 16:36:10 +01:00
platform_unsupported.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
platform_win.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
process.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
process.h Fix Process.runSync error handling. 2016-12-21 09:10:40 -08:00
process_android.cc VM: Avoid running atexit() handlers during exit() of a failed subprocess spawn 2017-01-12 14:20:34 +01:00
process_fuchsia.cc Fuchsia: Fix deprecated jobs call 2017-01-12 08:44:04 -08:00
process_linux.cc VM: Avoid running atexit() handlers during exit() of a failed subprocess spawn 2017-01-12 14:20:34 +01:00
process_macos.cc Fix Process.runSync error handling. 2016-12-21 09:10:40 -08:00
process_patch.dart Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork." 2016-10-27 10:09:22 +02:00
process_test.cc Revert "Test infrastructure: Change the intentionally crashing process_test.cc, to try and avoid timeout of this process." 2012-06-18 14:16:00 +00:00
process_unsupported.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
process_win.cc Fix Process.runSync error handling. 2016-12-21 09:10:40 -08:00
reference_counting.h clang-format runtime/bin 2016-11-04 12:30:56 -07:00
root_certificates_unsupported.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
run_vm_tests.cc Refactor snapshots pieces to include a section for loading instructions into the heap of a regular isolate. 2017-01-23 10:25:02 -08:00
run_vm_tests_fuchsia.cc Fuchsia: Fix deprecated jobs call 2017-01-12 08:44:04 -08:00
secure_socket.h Enable SecureSocket on Fuchsia using BoringSSL and compiled-in certificates from dart-sdk/root_certificates. 2016-11-23 10:48:18 -08:00
secure_socket_boringssl.cc Fuchsia: Throttle epoll to prevent message queues from being overwhelmed with level-triggered events. 2016-12-01 16:39:22 -08:00
secure_socket_boringssl.h Adjust memory pressure from SSL 2016-11-30 10:26:45 -08:00
secure_socket_ios.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
secure_socket_ios.h clang-format runtime/bin 2016-11-04 12:30:56 -07:00
secure_socket_macos.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
secure_socket_macos.h clang-format runtime/bin 2016-11-04 12:30:56 -07:00
secure_socket_patch.dart Implement @patch annotation for patch class members 2016-08-10 12:54:57 -07:00
secure_socket_unsupported.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
service_object_patch.dart Add HttpServerConnection to Observatory. 2014-06-10 07:33:37 +00:00
snapshot_empty.cc Refactor snapshots pieces to include a section for loading instructions into the heap of a regular isolate. 2017-01-23 10:25:02 -08:00
snapshot_in.cc Refactor snapshots pieces to include a section for loading instructions into the heap of a regular isolate. 2017-01-23 10:25:02 -08:00
socket.cc VM: Fix memory leak during shutdown 2016-11-30 23:52:04 +01:00
socket.h VM: Fix memory leak during shutdown 2016-11-30 23:52:04 +01:00
socket_android.cc Fix android build 2016-11-20 22:46:54 -08:00
socket_android.h Make header include guards great again 2016-10-26 00:26:03 -07:00
socket_fuchsia.cc Fuchsia: dart:io Processes 2016-12-13 11:09:55 -08:00
socket_fuchsia.h Fuchsia: Partial implementation of dart:io sockets 2016-11-20 22:04:14 -08:00
socket_linux.cc Fuchsia: Partial implementation of dart:io sockets 2016-11-20 22:04:14 -08:00
socket_linux.h Make header include guards great again 2016-10-26 00:26:03 -07:00
socket_macos.cc Fix mac build 2016-11-20 22:14:16 -08:00
socket_macos.h Make header include guards great again 2016-10-26 00:26:03 -07:00
socket_patch.dart Don't clobber SocketError's OSError on failed write and send. 2017-01-12 15:51:45 -08:00
socket_unsupported.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
socket_win.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
socket_win.h Make header include guards great again 2016-10-26 00:26:03 -07:00
stdio.cc Error checking for Stdio calls 2016-12-15 11:12:42 -08:00
stdio.h Error checking for Stdio calls 2016-12-15 11:12:42 -08:00
stdio_android.cc Error checking for Stdio calls 2016-12-15 11:12:42 -08:00
stdio_fuchsia.cc Error checking for Stdio calls 2016-12-15 11:12:42 -08:00
stdio_linux.cc Error checking for Stdio calls 2016-12-15 11:12:42 -08:00
stdio_macos.cc Error checking for Stdio calls 2016-12-15 11:12:42 -08:00
stdio_patch.dart Error checking for Stdio calls 2016-12-15 11:12:42 -08:00
stdio_unsupported.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
stdio_win.cc Error checking for Stdio calls 2016-12-15 11:12:42 -08:00
test_extension.c Add runtime and native entry tags 2014-04-10 20:26:45 +00:00
test_extension_dllmain_win.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
thread.h Fuchsia: Use new call to get thread CPU time 2017-01-07 14:45:34 -08:00
thread_android.cc Fuchsia: Use new call to get thread CPU time 2017-01-07 14:45:34 -08:00
thread_android.h Make header include guards great again 2016-10-26 00:26:03 -07:00
thread_fuchsia.cc Fuchsia: Use new call to get thread CPU time 2017-01-07 14:45:34 -08:00
thread_fuchsia.h Make header include guards great again 2016-10-26 00:26:03 -07:00
thread_linux.cc Fuchsia: Use new call to get thread CPU time 2017-01-07 14:45:34 -08:00
thread_linux.h Make header include guards great again 2016-10-26 00:26:03 -07:00
thread_macos.cc Fuchsia: Use new call to get thread CPU time 2017-01-07 14:45:34 -08:00
thread_macos.h Make header include guards great again 2016-10-26 00:26:03 -07:00
thread_win.cc Fuchsia: Use new call to get thread CPU time 2017-01-07 14:45:34 -08:00
thread_win.h Make header include guards great again 2016-10-26 00:26:03 -07:00
utils.h clang-format runtime/bin 2016-11-04 12:30:56 -07:00
utils_android.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
utils_fuchsia.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
utils_linux.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
utils_macos.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
utils_win.cc clang-format runtime/bin 2016-11-04 12:30:56 -07:00
utils_win.h clang-format runtime/bin 2016-11-04 12:30:56 -07:00
vmservice_dartium.cc Refactor snapshots pieces to include a section for loading instructions into the heap of a regular isolate. 2017-01-23 10:25:02 -08:00
vmservice_dartium.h clang-format runtime/bin 2016-11-04 12:30:56 -07:00
vmservice_impl.cc VM: Support bootstrapping core libraries from Kernel binaries instead of source. 2016-11-16 13:56:20 +01:00
vmservice_impl.h VM: Support bootstrapping core libraries from Kernel binaries instead of source. 2016-11-16 13:56:20 +01:00
vmserviceio_dartium.dart Add dart:io and dart:_builtin to the dartium snapshot so that vmservices can work, the previous approach of trying to load dart:io and dart:_builtin from the sources does not work in a dart-sdk distribution as the sources are not copied out. 2015-05-15 23:15:19 +00:00
zlib.gyp Rename libchrome_zip to libzip_dart in build. 2016-04-13 00:15:37 +02:00