1. 23 9月, 2020 1 次提交
  2. 21 9月, 2020 1 次提交
  3. 15 9月, 2020 1 次提交
  4. 11 9月, 2020 1 次提交
    • B
      refactor(core): JsRuntime initialization (#7415) · 0d1f626e
      Bartek Iwańczuk 提交于
      Removes:
      - "deno_core::StartupData"
      - "deno_core::Script"
      - "deno_core::OwnedScript"
      
      Changes to "JsRuntime":
      - remove "new_with_loader()"
      - remove "with_heap_limits()"
      - rename "IsolateOptions" to "RuntimeOptions" and make public
      - "JsRuntime::new()" takes "RuntimeOptions" as a single param
      0d1f626e
  5. 10 9月, 2020 1 次提交
    • R
      Use gotham-like state for ops (#7385) · 7c2e7c66
      Ryan Dahl 提交于
      Provides a concrete state type that can be dynamically added. This is necessary for op crates.
      * renames BasicState to OpState
      * async ops take `Rc<RefCell<OpState>>`
      * sync ops take `&mut OpState`
      * removes `OpRegistry`, `OpRouter` traits
      * `get_error_class_fn` moved to OpState
      * ResourceTable moved to OpState
      7c2e7c66
  6. 07 9月, 2020 1 次提交
    • B
      refactor(core): rename CoreIsolate to JsRuntime (#7373) · f57a2c1e
      Bartek Iwańczuk 提交于
      deno_core/
      - rename core_isolate.rs to runtime.rs
      - rename CoreIsolate to JsRuntime
      - rename JSError to JsError
      - rename JSStackFrame to JsStackFrame
      
      cli/
      - update references from deno_core::CoreIsolate to deno_core::JsRuntime
      - rename deno_core::JSError to deno_core::JsError
      - rename fmt_errors::JSError to fmt_errors::JsError
      f57a2c1e
  7. 06 9月, 2020 1 次提交
  8. 22 8月, 2020 1 次提交
  9. 21 8月, 2020 1 次提交
  10. 20 8月, 2020 1 次提交
  11. 18 8月, 2020 1 次提交
    • R
      Simplify deno_core_http_bench op state (#7038) · 974215af
      Ryan Dahl 提交于
      Removes unnecessary wrappers around ResourceTable and CoreIsolate.
      
      Importantly: now uses the resource table inside CoreIsolateState rather than a different one.
      
      Removes derive_deref dependency
      974215af
  12. 08 7月, 2020 1 次提交
  13. 02 6月, 2020 1 次提交
  14. 30 5月, 2020 1 次提交
  15. 23 4月, 2020 1 次提交
  16. 20 4月, 2020 1 次提交
  17. 19 4月, 2020 1 次提交
  18. 21 3月, 2020 1 次提交
  19. 08 2月, 2020 1 次提交
  20. 04 2月, 2020 1 次提交
    • R
      refactor: Use Tokio's single-threaded runtime (#3844) · 161cf7cd
      Ryan Dahl 提交于
      This change simplifies how we execute V8. Previously V8 Isolates jumped
      around threads every time they were woken up. This was overly complex and
      potentially hurting performance in a myriad ways. Now isolates run on
      their own dedicated thread and never move.
      
      - blocking_json spawns a thread and does not use a thread pool
      - op_host_poll_worker and op_host_resume_worker are non-operational
      - removes Worker::get_message and Worker::post_message
      - ThreadSafeState::workers table contains WorkerChannel entries instead
        of actual Worker instances.
      - MainWorker and CompilerWorker are no longer Futures.
      - The multi-threaded version of deno_core_http_bench was removed.
      - AyncOps no longer need to be Send + Sync
      
      This PR is very large and several tests were disabled to speed
      integration:
      - installer_test_local_module_run
      - installer_test_remote_module_run
      - _015_duplicate_parallel_import
      - _026_workers
      161cf7cd
  21. 25 1月, 2020 1 次提交
  22. 06 1月, 2020 1 次提交
  23. 23 12月, 2019 1 次提交
  24. 15 12月, 2019 1 次提交
  25. 28 11月, 2019 1 次提交
  26. 27 11月, 2019 1 次提交
  27. 19 11月, 2019 1 次提交
  28. 17 11月, 2019 3 次提交
  29. 07 11月, 2019 1 次提交
    • R
      Remove CoreResource::inspect_repr method (#3274) · 5c1deac0
      Ry Dahl 提交于
      Towards simplifying (or better removing entirely) the CoreResource
      trait. Resources should be any bit of privileged heap allocated memory
      that needs to be referenced from JS, not very specific trait
      implementations. Therefore CoreResource should be pushed towards being
      as general as possible.
      5c1deac0
  30. 29 10月, 2019 1 次提交
  31. 24 10月, 2019 1 次提交
  32. 01 10月, 2019 1 次提交
  33. 08 8月, 2019 1 次提交
    • R
      Add op_id throughout op API (#2734) · e438ac2c
      Ryan Dahl 提交于
      Removes the magic number hack to switch between flatbuffers and the
      minimal dispatcher.
      
      Adds machinery to pass the op_id through the shared_queue.
      e438ac2c
  34. 01 8月, 2019 1 次提交
  35. 12 7月, 2019 1 次提交
  36. 18 6月, 2019 1 次提交
  37. 15 6月, 2019 1 次提交
  38. 14 6月, 2019 1 次提交