diff --git a/src/coreclr/gc/gc.cpp b/src/coreclr/gc/gc.cpp index 768bba0f1001a..ddae524ef0d07 100644 --- a/src/coreclr/gc/gc.cpp +++ b/src/coreclr/gc/gc.cpp @@ -1839,9 +1839,9 @@ uint8_t* gc_heap::pad_for_alignment_large (uint8_t* newAlloc, int requiredAlignm //CLR_SIZE is the max amount of bytes from gen0 that is set to 0 in one chunk #ifdef SERVER_GC -#define CLR_SIZE ((size_t)(8*1024)) +#define CLR_SIZE ((size_t)(8*1024+32)) #else //SERVER_GC -#define CLR_SIZE ((size_t)(8*1024)) +#define CLR_SIZE ((size_t)(8*1024+32)) #endif //SERVER_GC #define END_SPACE_AFTER_GC (loh_size_threshold + MAX_STRUCTALIGN) diff --git a/src/coreclr/gc/gcpriv.h b/src/coreclr/gc/gcpriv.h index bc7b148bda8e8..a87d85869c492 100644 --- a/src/coreclr/gc/gcpriv.h +++ b/src/coreclr/gc/gcpriv.h @@ -5653,6 +5653,7 @@ struct gap_reloc_pair struct DECLSPEC_ALIGN(8) aligned_plug_and_gap { + size_t additional_pad; plug_and_gap plugandgap; };