Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 7e60566ef66d9f82ccc19fb4efdd6677207a352f..cc968bbcc3b3dbfcb0410b367cbb1078b96b4f2e 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1963,6 +1963,13 @@ bool Isolate::Init(Deserializer* des) { |
Internals::kIsolateEmbedderDataOffset); |
CHECK_EQ(static_cast<int>(OFFSET_OF(Isolate, heap_.roots_)), |
Internals::kIsolateRootsOffset); |
+ CHECK_EQ(static_cast<int>( |
+ OFFSET_OF(Isolate, heap_.amount_of_external_allocated_memory_)), |
+ Internals::kAmountOfExternalAllocatedMemoryOffset); |
+ CHECK_EQ(static_cast<int>(OFFSET_OF( |
+ Isolate, |
+ heap_.amount_of_external_allocated_memory_at_last_global_gc_)), |
+ Internals::kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset); |
state_ = INITIALIZED; |
time_millis_at_init_ = OS::TimeCurrentMillis(); |