From: vsadov Date: Sun, 14 Apr 2019 18:02:35 +0000 (-0700) Subject: Adjust plug_size_to_fit to consider large alignment om ARM32 X-Git-Tag: accepted/tizen/unified/20190813.215958~46^2~70^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b56d39c5812db4780c818140083cf753aca8ca5a;p=platform%2Fupstream%2Fcoreclr.git Adjust plug_size_to_fit to consider large alignment om ARM32 --- diff --git a/src/gc/gc.cpp b/src/gc/gc.cpp index 9d909f1..f71a320 100644 --- a/src/gc/gc.cpp +++ b/src/gc/gc.cpp @@ -8842,6 +8842,10 @@ public: plug_size_to_fit += (pad_in_front ? Align(min_obj_size) : 0); #endif //SHORT_PLUGS +#ifdef RESPECT_LARGE_ALIGNMENT + plug_size_to_fit += switch_alignment_size(FALSE); +#endif //RESPECT_LARGE_ALIGNMENT + int plug_power2 = index_of_highest_set_bit (round_up_power2 (plug_size_to_fit + Align(min_obj_size))); ptrdiff_t i; uint8_t* new_address = 0;