Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/coreclr/gc/gc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16826,7 +16826,8 @@ BOOL gc_heap::a_fit_segment_end_p (int gen_number,
// (see also: object.cpp/Object::ValidateInner)
// Make sure it will see cleaned up state to prevent triggering occasional verification failures.
// And make sure the write happens before updating "allocated"
VolatileStore(((void**)allocated - 1), (void*)0); //clear the sync block
((void**)allocated)[-1] = 0; // clear the sync block
VOLATILE_MEMORY_BARRIER();
#endif //VERIFY_HEAP && _DEBUG

uint8_t* old_alloc;
Expand Down