We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05dc386 commit 43ed041Copy full SHA for 43ed041
1 file changed
test-app/runtime/src/main/cpp/Runtime.cpp
@@ -477,6 +477,7 @@ Isolate* Runtime::PrepareV8Runtime(const string& filesPath, const string& native
477
if (snapshotPtr) {
478
m_startupData->data = static_cast<const char*>(dlsym(snapshotPtr, "TNSSnapshot_blob"));
479
m_startupData->raw_size = *static_cast<const unsigned int*>(dlsym(snapshotPtr, "TNSSnapshot_blob_len"));
480
+ create_params.snapshot_blob = m_startupData;
481
DEBUG_WRITE_FORCE("Snapshot library read %p (%dB).", m_startupData->data, m_startupData->raw_size);
482
} else if (!Constants::V8_HEAP_SNAPSHOT_BLOB.empty() || !Constants::V8_HEAP_SNAPSHOT_SCRIPT.empty()) {
483
DEBUG_WRITE_FORCE("Snapshot enabled.");
0 commit comments