[v8-users] Maglev error when building on windows in debug.

2023-10-19 Thread 'Ronald Fenner' via v8-users
I'm getting this erro when trying to build the debug versoin of v8 in windows. FAILED: obj/v8_base_without_compiler_1/maglev-ir-x64.obj ninja -t msvc -e environment.x64 -- "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\bin\Hostx64\x64\cl.exe" /c ../../src/mag

[v8-users] Snapshot Questions

2024-05-31 Thread 'Ronald Fenner' via v8-users
I'm working on code to take a snapshot of v8 isolate and context and while I have ogtten snapshotting working with function templates, I'm running into a problem with tryingt otest snapshotting a js object wrapped with a cpp class. When i snapshot the object seems to be getting CGed as the wek r

[v8-users] Re: Additional Contextes from snapshot question

2025-01-01 Thread 'Ronald Fenner' via v8-users
Apparently when i updated my test to add the second creation i goofed and named the first one 2 confusing me into thinking it was the second one that was having an issue when in reality it's the first one having an issue. For some reason when i try to get the data it's empty and tripping the dch

[v8-users] Re: Additional Contextes from snapshot question

2025-01-01 Thread 'Ronald Fenner' via v8-users
Ok figured out the problem when i went restore the modules the context wrapper class hand't had the global set yet and thus was empty when the code tried to use the created context. Fixed and my entire question is moot as when retesting creating a second context from the sanpshot on a non defau

[v8-users] Snapshot and AddData question

2024-12-11 Thread 'Ronald Fenner' via v8-users
I'm working on snapshot a isolate with modules and was wondering how to reconnect the info the c++ class that tracks them back to the module when deserialization the snapshot. Unlike Objects that wrap C++ classes that can use the internal field serializer to rebuild and relink up the c++ object

[v8-users] Additional Contextes from snapshot question

2025-01-01 Thread 'Ronald Fenner' via v8-users
I was wondering if additional contextes added to the snapshot are to only be loaded once from the snapshot. I was testing if i could load one a second time mainly because of the get data from context where i stored the handles for the modules i was tracking as loaded into and as I suspected it