@@ -347,6 +347,11 @@ void IsolateData::DeserializeProperties(const IsolateDataSerializeInfo* info) {
347
347
size_t i = 0 ;
348
348
HandleScope handle_scope (isolate_);
349
349
350
+ if (per_process::enabled_debug_list.enabled (DebugCategory::MKSNAPSHOT)) {
351
+ fprintf (stderr, " deserializing IsolateDataSerializeInfo...\n " );
352
+ std::cerr << *info << " \n " ;
353
+ }
354
+
350
355
#define VP (PropertyName, StringValue ) V(Private, PropertyName)
351
356
#define VY (PropertyName, StringValue ) V(Symbol, PropertyName)
352
357
#define VS (PropertyName, StringValue ) V(String, PropertyName)
@@ -1704,6 +1709,11 @@ void Environment::RunDeserializeRequests() {
1704
1709
void Environment::DeserializeProperties (const EnvSerializeInfo* info) {
1705
1710
Local<Context> ctx = context ();
1706
1711
1712
+ if (enabled_debug_list_.enabled (DebugCategory::MKSNAPSHOT)) {
1713
+ fprintf (stderr, " deserializing EnvSerializeInfo...\n " );
1714
+ std::cerr << *info << " \n " ;
1715
+ }
1716
+
1707
1717
RunDeserializeRequests ();
1708
1718
1709
1719
async_hooks_.Deserialize (ctx);
@@ -1716,11 +1726,6 @@ void Environment::DeserializeProperties(const EnvSerializeInfo* info) {
1716
1726
should_abort_on_uncaught_toggle_.Deserialize (ctx);
1717
1727
1718
1728
principal_realm_->DeserializeProperties (&info->principal_realm );
1719
-
1720
- if (enabled_debug_list_.enabled (DebugCategory::MKSNAPSHOT)) {
1721
- fprintf (stderr, " deserializing...\n " );
1722
- std::cerr << *info << " \n " ;
1723
- }
1724
1729
}
1725
1730
1726
1731
uint64_t GuessMemoryAvailableToTheProcess () {
0 commit comments