File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -4183,6 +4183,7 @@ class MM_CopyForwardSchemeRootClearer : public MM_RootScanner
41834183 MM_AllocationContextBalanced *context = NULL ;
41844184 for (uintptr_t index = 0 ; index < reservedRegionCount; index++) {
41854185 context = (MM_AllocationContextBalanced *) largeObjectVirtualMemory->getAllocationContextForAddress (dataAddr, index);
4186+ Assert_MM_true (NULL != context);
41864187 context->recycleReservedRegionsForVirtualLargeObjectHeap (env, 1 );
41874188 }
41884189
Original file line number Diff line number Diff line change @@ -1437,6 +1437,7 @@ class MM_GlobalMarkingSchemeRootClearer : public MM_RootScanner
14371437 MM_AllocationContextBalanced *context = NULL ;
14381438 for (uintptr_t index = 0 ; index < reservedRegionCount; index++) {
14391439 context = (MM_AllocationContextBalanced *) largeObjectVirtualMemory->getAllocationContextForAddress (dataAddr, index);
1440+ Assert_MM_true (NULL != context);
14401441 context->recycleReservedRegionsForVirtualLargeObjectHeap (env, 1 );
14411442 }
14421443
You can’t perform that action at this time.
0 commit comments