diff --git a/gc/base/Configuration.hpp b/gc/base/Configuration.hpp index 2bfc55e86cc..21bacbc7f99 100644 --- a/gc/base/Configuration.hpp +++ b/gc/base/Configuration.hpp @@ -180,8 +180,8 @@ class MM_Configuration : public MM_BaseVirtual */ virtual bool reinitializeForRestore(MM_EnvironmentBase* env) { - Assert_MM_unreachable(); - return false; + initializeGCParameters(env); + return true; } #endif /* defined(J9VM_OPT_CRIU_SUPPORT) */ diff --git a/gc/base/standard/ConfigurationStandard.cpp b/gc/base/standard/ConfigurationStandard.cpp index 255e92fcdad..92e6265e917 100644 --- a/gc/base/standard/ConfigurationStandard.cpp +++ b/gc/base/standard/ConfigurationStandard.cpp @@ -340,6 +340,8 @@ MM_ConfigurationStandard::reinitializeForRestore(MM_EnvironmentBase* env) { MM_GCExtensionsBase* extensions = env->getExtensions(); + MM_Configuration::reinitializeForRestore(env); + MM_MemoryPool *memoryPool; MM_HeapMemoryPoolIterator poolIterator(env, extensions->heap);