Skip to content

Commit 4e50876

Browse files
authored
Merge pull request #1299 from Unity-Technologies/unity-master-precise-array-marking-stack-limit
Avoid exceeding the mark stack limit (case 1235202)
2 parents cb87807 + f24dbc4 commit 4e50876

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

external/bdwgc

mono/metadata/boehm-gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ static mse * GC_gcj_vector_proc (word * addr, mse * mark_stack_ptr,
160160
/* end at last element or max chunk size */
161161
word *actual_end = actual_start + length * words_per_element;
162162

163-
return GC_gcj_vector_mark_proc (mark_stack_ptr, element_desc, start, actual_end, words_per_element);
163+
return GC_gcj_vector_mark_proc (mark_stack_ptr, mark_stack_limit, element_desc, start, actual_end, words_per_element);
164164
}
165165

166166
#endif

0 commit comments

Comments
 (0)