wasm-micro-runtime icon indicating copy to clipboard operation
wasm-micro-runtime copied to clipboard

[WIP] Enhance wasm with checkpoint and restore support (#2333)

Open victoryang00 opened this issue 3 months ago • 5 comments

  • Add wasm_runtime_checkpoint/wasm_runtime_restore API
  • Support AOT and Classic Interpreter mode checkpoint and debug through OS signal, tested on windows/mac/linux aarch64/x64
  • Static instrument the AOT to have the checkpoint and restore switches
  • Add sub extra library folder for implementing the ckpt-restore
  • Include extra dependency of yalantinglib

Create a one-commit PR for adding the functionality for now, which requires more code reviews and testing in the future, like when ther I could better organize the third-party yalantings library and test functionality for Classic Interpreter mode and AOT mode.

victoryang00 avatar Apr 07 '24 21:04 victoryang00