- 17 1月, 2019 2 次提交
-
-
由 Vyacheslav Egorov 提交于
Revert "Wrap the user entrypoint function in a zone with native exception callback. (#7512)" (#7522) This reverts commit 25559ed0. Reason for revert: broken in AOT mode. @pragma('vm:entry-point') placed on a function only instructs the compiler to retain the function itself, but does not tell compiler to generate and retain tear-off for this function. In this PR _runMainZoned was marked as an entry-point but C++ code was trying to tear it off and use a closure, instead of invoking it directly, which is not supported.
-
由 Chinmay Garde 提交于
-
- 16 1月, 2019 1 次提交
-
-
由 Alexander Markov 提交于
This PR prepares Flutter engine for the cleanup of Dart API Dart_GetStickyError/Dart_SetStickyError/Dart_HasStickyError.
-
- 15 1月, 2019 1 次提交
-
-
由 Dan Field 提交于
* Make IOManager own resource context
-
- 15 11月, 2018 1 次提交
-
-
由 Alexander Aprelev 提交于
* Set up secondary isolates with all kernel buffers rather than just one buffer. * Capture copy of the list * Make sure child_isolate_preparer_ is initialized only once
-
- 13 11月, 2018 1 次提交
-
-
由 Michael Goderbauer 提交于
-
- 08 11月, 2018 1 次提交
-
-
由 Michael Goderbauer 提交于
-
- 27 10月, 2018 1 次提交
-
-
由 Chinmay Garde 提交于
-
- 23 10月, 2018 1 次提交
-
-
由 Chinmay Garde 提交于
TL;DR: Offscreen surface is created on the render thread and device to host transfer performed there before task completion on the UI thread. While attempting to snapshot layer trees, the engine was attempting to use the IO thread context. The reasoning was that this would be safe to do because any textures uploaded to the GPU as a result of async texture upload would have originated from this context and hence the handles would be valid in either context. As it turns out, while the handles are valid, Skia does not support this use-case because cross-context images transfer ownership of the image from one context to another. So, when we made the hop from the UI thread to the IO thread (for snapshotting), if either the UI or GPU threads released the last reference to the texture backed image, the image would be invalid. This led to such images being absent from the layer tree snapshot. Simply referencing the images as they are being used on the IO thread is not sufficient because accessing images on one context after their ownership has already been transferred to another is not safe behavior (from Skia's perspective, the handles are still valid in the sharegroup). To work around these issues, it was decided that an offscreen render target would be created on the render thread. The color attachment of this render target could then be transferred as a cross context image to the IO thread for the device to host tranfer. Again, this is currently not quite possible because the only way to create cross context images is from encoded data. Till Skia exposes the functionality to create cross-context images from textures in one context, we do a device to host transfer on the GPU thread. The side effect of this is that this is now part of the frame workload (image compression, which dominate the wall time, is still done of the IO thread). A minor side effect of this patch is that the GPU latch needs to be waited on before the UI thread tasks can be completed before shell initialization.
-
- 18 10月, 2018 1 次提交
-
-
由 Chinmay Garde 提交于
-
- 04 10月, 2018 1 次提交
-
-
- 28 9月, 2018 1 次提交
-
-
由 Siva 提交于
* Roll Dart to version 7f9a9feae181573cca609fd1b8760d7992176699 This contains the following commits: 7f9a9feae1 [vm, service] Rename 'invoke' parameter 'receiverId' to 'targetId'. fa3d8fa567 Don't check for the file presence in transitive sets when we are just creating it. 6f3de544ed [ VM / Hot Reload ] Fixed tests which were crashing periodically. Fixes issue #34599 e811b29788 [vm, gc] Restore growth policy when concurrent marking is not enabled. 0518b334ba Address comments 7c46a28505 Update convert class to mixin assist to remove "abstract" 06744c68b2 Pull reporting for unimplemented inherited members, and declared abstract members from ErrorVerifier. 45c7e4365c Update dartfix to apply changes to file rather than displaying them 9ad59bada2 [dartdevc] fix #34358, int to double conversion for literals edddc0ba58 Generate source changes for converting class to mixin 2742a5d558 [Gardening] Update test status d9de98e164 [VM] Delete some dead code in gen_snapshot.cc 51b8fc7bb0 AwaitExpression.precedence => 14 2390b3605f Create a package for shared diagnostics 629d76eb46 Simple dartfix that suggests class to be converted to mixins 8a2cfd8613 Implement InheritanceManager2.getMember() and use it in some places. 71eaf3209b Fix broken 'fasta testing sdk'. d79f7493b3 Test that type parameters of typedefs are properly bounds checked. b36f4fffc4 Allow multiple analyzer codes 82b3501c3c Fix supermixin handling in dart2js c9b05d3f1f Allow super calls in mixin declarations 225b8d5075 Specialize Object properties in static type computation 4a58112a7c Move kernel_impact.dart from ssa/ to kernel/ aaf3b709e6 [release] Prepare changelog for 2.1.0-dev.6.0 e9c949372e Remove unused parts of J/K*Env classes 4659cb9480 Fully split JsToElementMap and KernelToElementMap a617700b17 Removes code that has become redundant since 98a9adf. 7c54fab8a5 Adjust status files. 76470aca47 [VM] use coresnapshot when initializing an Isolate * Address review comments.
-
- 15 9月, 2018 1 次提交
-
-
由 Ryan Macnak 提交于
Following fixes in dart-lang/sdk@91cbb57cd5cd012d5aa66bfb6eb3a1306271f431
-
- 12 9月, 2018 1 次提交
-
-
由 Michael Goderbauer 提交于
This reverts commit e3133e0e.
-
- 11 9月, 2018 1 次提交
-
-
由 Ryan Macnak 提交于
- Add missing Dart 2 flags to gen_snapshot invocation. - Disable brittle service test.
-
- 08 9月, 2018 2 次提交
-
-
由 Ryan Macnak 提交于
This reverts commit 4c2448d1.
-
由 Ryan Macnak 提交于
- Switch core snapshot to Dart 2 and remove support for loading platform.dill. - Remove support for loading script snapshots. - Remove support for loading source. - Remove settings and fix names to reflect the above. - Remove support for loading the service isolate from source.
-
- 14 8月, 2018 1 次提交
-
-
由 Jason Simmons 提交于
-
- 10 8月, 2018 1 次提交
-
-
由 Siva 提交于
* Roll Dart to version 1be785ae2ddb1754a184cd638ab719e94d86b4e9 This rolls includes the following changes : 1be785ae2d Clean up some dead code 7b9fb893d2 [vm] Add a service method for 'invoke' as the dual to 'eval'. 099f1504fa Mention -O flag in CHANGELOG 79f69abace [vm/compiler] breakage fix: add missing break 96a1e9985f Fix the pkg bot 7818db20a7 Add analysis hint for invalid use of @visibleForTemplate code. 71d96019d1 [vm/compiler] Introduce 64-bit NEGATE - all archs. 5013a2ccc4 Remove spurious line. ef2f777625 Mark some analyzer tests as being flaky cf560fe17b Fix a couple of the tests failing on the analyzer with fasta parser bot 63c11693e6 [gardening] Fix language_2/type_variable_promotion_test. d0f28884ff [VM] Fix expression evaluation implementation: Never register temporary/unused classes with the system. e2a1807fc2 [gardening] Update status for io/compile_all_test in PRODUCT AOT mode f7ff739448 Insert date of 2.0.0 release in Changelog bcabad6014 [vm] Fix SIMARM64 build on Windows. af02ccae83 [infra] Fix filesets for new vm-kernel-precomp builders 8e2f28e264 Update homebrew to drop the @2 tab and fix for 2.0 ba119d7292 [VM] Remove "$compiler == precompiler" sections from language_2_precompiler.status f3a2c0e28f [release] Prepare changelog for 2.1.0-dev.0.0 88cba7d860 [vm/kernel/bytecode] Fix arguments descriptor for List._fromLiteral call in bytecode bd45ec0c4b [vm, gc] Refactor PageSpace::CollectGarbage to ensure the safepoint and task count remain well-scoped even with early exits. 8195fd8c64 Repair dart2js/string_interpolation_test a0b335ac6c Try no implicit casts in pkg/analyzer_cli. 3d25d3761b Update pub - leave packages directories alone 327db5e9ab [vm] Fix kernel_isolate use_field_guard flag for kbc a1ca88f554 Resolve invocation arguments to parameters. * Address source format error.
-
- 27 7月, 2018 1 次提交
-
-
由 Chinmay Garde 提交于
-
- 24 7月, 2018 3 次提交
-
-
-
由 Ryan Macnak 提交于
Without this flag, the VM will attempt to interpret a kernel file as source code. Affects Fuchsia (FL-71) and code-push.
-
由 Jason Simmons 提交于
-
- 19 7月, 2018 3 次提交
-
-
由 Stanislav Baranov 提交于
-
由 Ryan Macnak 提交于
This reverts commit 624cf7e2.
-
由 Ryan Macnak 提交于
Without this flag, the VM will attempt to interpret a kernel file as source code. Affects Fuchsia (FL-71) and code-push.
-
- 14 7月, 2018 1 次提交
-
-
由 Ben Konyi 提交于
-
- 22 6月, 2018 1 次提交
-
-
由 Ryan Macnak 提交于
Required by https://dart-review.googlesource.com/c/sdk/+/60202
-
- 14 6月, 2018 1 次提交
-
-
由 Ben Konyi 提交于
* Reland "Added IsolateNameServer functionality (#5410)" This reverts commit c3976b3c. * Fixed issue with isolate_name_server_test which caused test to timeout * Disabled thread_annotations on Android as they aren't supported in the NDK headers for std::mutex. Readded thread annotations to IsolateNameServer.
-
- 13 6月, 2018 2 次提交
-
-
由 Ben Konyi 提交于
* Added IsolateNameServer functionality, which allows for the association of string names with isolate SendPort ids that can be used to establish inter-isolate communications.
- 12 6月, 2018 2 次提交
-
-
由 Chris Bracken 提交于
Broke runtime_unittests, which are still running directly from source. This reverts commit 0ea93c3a.
-
由 Chris Bracken 提交于
Eliminates support for running directly from sources or script snapshots. In debug mode, we run from a kernel snapshot; in profile and release modes, we link in AOT-compiled code. Renames --dart-non-checked-mode to --disable-dart-asserts since checked mode does not make sense in Dart 2.
-
- 25 5月, 2018 1 次提交
-
-
由 Ryan Macnak 提交于
-
- 17 5月, 2018 1 次提交
-
-
由 Ryan Macnak 提交于
-
- 16 5月, 2018 3 次提交
-
-
由 Ryan Macnak 提交于
Update engine for removal of Dart_ReadKernelBinary and refactored build targets.
-
由 Ryan Macnak 提交于
This reverts commit 755dbeef.
-
由 Ryan Macnak 提交于
Update engine for removal of Dart_ReadKernelBinary and refactored build targets.
-
- 11 5月, 2018 1 次提交
-
-
- 03 5月, 2018 1 次提交
-
-
由 Alexander Aprelev 提交于
* Roll dart to b298fc6d8f6a0e1aa841dbbdda26663d6012a79a. Changes since last roll: ``` b298fc6d8f Revert "[kernel] Change dill representation of doubles" 9a7e1f64a2 Revert "Revert "Fix incorrect handling of NSM forwarders and pull all logic into CFE."" cbca4006f8 fix #30907, add library constants for all SDK libraries 61c226b4ea Only create Goma's analyzer on Linux. 24dd9b4176 Revert "Fix incorrect handling of NSM forwarders and pull all logic into CFE." bed71b7776 Migrate and clean up the prefix negative tests. 1fcd896ed9 [VM] Avoid deadlock by allowing us to run kernel isolate from a script snapshot, fixes all dartk-sim* builders 0bc6e7217a Update expression compilation expectations. 9038b8f45f CFE support for compiling individual expressions in a context. 7d5025e814 Fix incorrect handling of NSM forwarders and pull all logic into CFE. e2247e5e00 Put the '@' outside the revision variables. 9381424204 Fix presubmit on Windows. Dart executable is not called .bat 2a8c3515b2 Avoid strong+checked mode: strong mode supersedes checked mode b7698dcbce Update status for Windows 8baa82413b [infra] Remove --no-preview-dart-2 flag from gardening tools 47e9039512 Don't encode strings up front; don't toString uris 4a0ac85cc3 Update co19 status ce7329849d Fix build breakages - use platform independent path specification is test so that it works on windows - skip test for precompiled and dartk builds as the test uses spawnUri which is not supported in these modes ee6351a147 [VM] Set up package config value when invoking the front end for compilation, this should fix issue 32950 "(Isolate.spawnUri() ignores packageConfig argument in Dart 2 mode.' d1286a367e Strong mode update for swarm fd27cc3435 Don't store bytes in the file cache. 73abd61304 Re-land "Clean up the use of deprecated API in the analyzer_plugin package". 607f4f5769 [vm] Get more helpful errors from Dart_SetVMFlags and Dart_MakeIsolateRunnable. f044637c8b [infra] Upgrade checked in SDKs to 2.0.0-dev.52.0 dcf10816aa [infra] Add script that updates checked in SDKs f8bea2a7e6 dart2js: Register inlined native methods for dump info 7fe8659613 dump-info: Use relative paths for library canonicalUri... dcf4886500 [frontend-server] Add verbose option. 5087ffa481 [release] Move DDC sync-async flip to correct section in the release notes fe7056ebaa [release] Update changelog for 2.0.0-dev.52.0 ``` * Pick up another revert to fix https://github.com/flutter/flutter/issues/17214 and few more dart commits landed since: ``` 4c9b712052 Revert "Don't encode strings up front; don't toString uris" a1fbf62742 [build] Place 'extern "C"' before __attribute__, as required by gcc. 258c5172df [vm] Remove dart_mirrors_api.h. 384c55c29e Update dartdoc & dependencies to v0.19.0. ``` * fix licenses
-