Skip to content

Commit 9712a35

Browse files
authored
Merge pull request eclipse-openj9#21327 from dmitripivkine/master
Kill MM_SparseVirtualMemory at shutdown
2 parents 33767c2 + 4dac1a8 commit 9712a35

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

runtime/gc_vlhgc/ConfigurationIncrementalGenerational.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,13 @@ MM_ConfigurationIncrementalGenerational::tearDown(MM_EnvironmentBase *env)
404404
}
405405
#endif /* defined(OMR_GC_VLHGC_CONCURRENT_COPY_FORWARD) */
406406

407+
#if defined(J9VM_GC_SPARSE_HEAP_ALLOCATION)
408+
if (NULL != extensions->largeObjectVirtualMemory) {
409+
extensions->largeObjectVirtualMemory->kill(env);
410+
extensions->largeObjectVirtualMemory = NULL;
411+
}
412+
#endif /* defined(J9VM_GC_SPARSE_HEAP_ALLOCATION) */
413+
407414
MM_Configuration::tearDown(env);
408415

409416
// cleanup after extensions->heapRegionManager

0 commit comments

Comments
 (0)