1. 02 7月, 2019 2 次提交
    • C
      Revert "Roll Dart to 67ab3be10d35d994641da167cc806f20a7ffa679 (#9634)" (#9637) · 64b9eef5
      Chris Bracken 提交于
      This broke the Fuchsia build.
      
      This reverts commit 45e1ad27.
      64b9eef5
    • C
      Roll Dart to 67ab3be10d35d994641da167cc806f20a7ffa679 (#9634) · 45e1ad27
      Chris Bracken 提交于
      000cf0560c clean up type_literal_test
      0f20911022 Improve type_literal_test
      a108bef7fb [vm, bytecode] Interpreter support for newer recognized natives.
      2a15d38759 Revert "[llvm] Add initial scaffolding"
      13b470ac46 Parse error expectations in tests.
      b71d2d9996 [llvm] Add initial scaffolding
      5f2bcd9d6c [vm/bytecode] Reuse flow graph building for recognized methods
      
      This includes a breaking change: https://dart-review.googlesource.com/c/sdk/+/105241
      ```
        Dart_CreateIsolate -> Dart_CreateIsolateGroup
        Dart_IsolateCreateCallback -> Dart_IsolateGroupCreateCallback
        Dart_IsolateCleanupCallback -> Dart_IsolateGroupShutdownCallback
        Dart_CreateIsolateFromKernel -> Dart_CreateIsolateGroupFromKernel
        Dart_CurrentIsolateData -> Dart_CurrentIsolateGroupData
        Dart_IsolateData -> Dart_IsolateGroupData
        Dart_GetNativeIsolateData -> Dart_GetNativeIsolateGroupData
        Dart_InitializeParams.create -> Dart_InitializeParams.create_group
        Dart_InitializeParams.cleanup -> Dart_InitializeParams.shutdown_group
        Dart_InitializeParams.shutdown -> Dart_InitializeParams.shutdown_isolate
      ```
      45e1ad27
  2. 26 6月, 2019 1 次提交
    • C
      Add --observatory-host switch (#9485) · 107fe823
      Chris Bracken 提交于
      Adds --observatory-host, which allows callers to specify the localhost
      IP binding directly. Allows users to set 0.0.0.0 or the host IP address
      as is possible in the standalone VM, rather than restricting users to
      loopback.
      
      We retain the default behaviour of binding to loopback since the vast
      majority of observatory use-cases involve local access (e.g. host tests
      on flutter_tester) or port-forwarded local access (e.g. flutter driver
      device tests). However, some scenarios, such as QA test labs, may
      benefit from binding to a publicly-accessible IP address.
      107fe823
  3. 18 6月, 2019 1 次提交
  4. 13 6月, 2019 1 次提交
  5. 06 6月, 2019 1 次提交
  6. 26 4月, 2019 1 次提交
  7. 25 4月, 2019 1 次提交
  8. 20 4月, 2019 1 次提交
  9. 19 4月, 2019 3 次提交
  10. 18 4月, 2019 1 次提交
  11. 11 4月, 2019 1 次提交
  12. 10 4月, 2019 2 次提交
  13. 06 4月, 2019 1 次提交
  14. 04 4月, 2019 3 次提交
  15. 03 4月, 2019 1 次提交
  16. 02 4月, 2019 1 次提交
  17. 30 3月, 2019 1 次提交
  18. 27 3月, 2019 1 次提交
  19. 20 2月, 2019 1 次提交
  20. 16 2月, 2019 1 次提交
    • C
      Shut down and restart the Dart VM as needed. (#7832) · 0d6ff166
      Chinmay Garde 提交于
      The shell was already designed to cleanly shut down the VM but it couldnt
      earlier as |Dart_Initialize| could never be called after a |Dart_Cleanup|. This
      meant that shutting down an engine instance could not shut down the VM to save
      memory because newly created engines in the process after that point couldn't
      restart the VM. There can only be one VM running in a process at a time.
      
      This patch separate the previous DartVM object into one that references a
      running instance of the DartVM and a set of immutable dependencies that
      components can reference even as the VM is shutting down.
      
      Unit tests have been added to assert that non-overlapping engine launches use
      difference VM instances.
      0d6ff166
  21. 25 1月, 2019 1 次提交
  22. 17 1月, 2019 2 次提交
  23. 16 1月, 2019 1 次提交
  24. 15 1月, 2019 1 次提交
  25. 15 11月, 2018 1 次提交
  26. 13 11月, 2018 1 次提交
  27. 08 11月, 2018 1 次提交
  28. 27 10月, 2018 1 次提交
  29. 23 10月, 2018 1 次提交
    • C
      Ensure that Scene::toImage renders texture backed images. (#6636) · 20c805c9
      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.
      20c805c9
  30. 18 10月, 2018 1 次提交
  31. 04 10月, 2018 1 次提交
  32. 28 9月, 2018 1 次提交
    • S
      Roll Dart to version 7f9a9feae181573cca609fd1b8760d7992176699 (#6366) · 2a22019a
      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.
      2a22019a
  33. 15 9月, 2018 1 次提交