This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wasm-micro-runtime/core/iwasm
Wenyong Huang 7636d86a76
Refactor Orc JIT to enable lazy compilation (#974)
Refactor LLVM Orc JIT to actually enable the lazy compilation and speedup
the launching process:
  https://llvm.org/docs/ORCv2.html#laziness

Main modifications:
- Create LLVM module for each wasm function, wrap it with thread safe module
  so that the modules can be compiled parallelly
- Lookup function from aot module instance's func_ptrs but not directly call the
  function to decouple the module relationship
- Compile the function when it is first called and hasn't been compiled
- Create threads to pre-compile the WASM functions parallelly when loading
- Set Lazy JIT as default, update document and build/test scripts
2022-01-20 18:40:13 +08:00
..
aot Refactor Orc JIT to enable lazy compilation (#974) 2022-01-20 18:40:13 +08:00
common Refactor Orc JIT to enable lazy compilation (#974) 2022-01-20 18:40:13 +08:00
compilation Refactor Orc JIT to enable lazy compilation (#974) 2022-01-20 18:40:13 +08:00
include Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
interpreter Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
libraries Fix __wasi_subscription_t inconsistent with wasi-libc issue (#964) 2022-01-17 20:52:45 +08:00
README.md Enable AoT and wamr-sdk, and change arguments of call wasm API (#157) 2020-01-21 13:26:14 +08:00