Skip to content

Resurrect V8 engine #6121

@marxin

Description

@marxin

The back end was paused for a while, and there may be several gaps we still need to address.

  • Module serialization/deserialization (unless --disable-cache is used) is borked: (apparently also related to the threading limitation)
#0  0x00007ffff7d8600d in ?? () from /usr/lib/libc.so.6
#1  0x000055555a630b9d in v8::internal::wasm::WasmSerializer::SerializeNativeModule(v8::base::Vector<unsigned char>) const ()
#2  0x00005555599e3393 in wasm::Module::serialize() const ()
#3  0x00005555599e862f in wee8_wasm_module_serialize ()
#4  0x000055555996fd09 in wasmer::backend::v8::entities::module::ModuleHandle::serialize (self=0x7fff84094040) at lib/api/src/backend/v8/entities/module.rs:116
  • pthread_create does not succeed -> given the per-thread Store requirement I don't see the full picture yet. Thoughts on that?

  • fork functionality not properly covering both of the processes:

fork.c.txt

Parent: PID = 1, Child PID = 2

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions