# New Ticket Created by Andy Dougherty
# Please include the string: [perl #17000]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt2/Ticket/Display.html?id=17000 >
On Sat, 31 Aug 2002, Steven W McDougall wrote:
> parrot t/pmc/perlhash_1.pbc
>
Steven W McDougall wrote:
> The align_1 parameter to mem_allocate() does not--as you might
> think--control the alignment of the allocated block. Rather, it
> controls the *size* of the allocated block, rounding it up to the next
> multiple of the power of 2 indicated by align_1. This means that
On Sat, 2002-08-31 at 18:45, Steven W McDougall wrote:
Good write-up.
> I tested this theory by hacking mem_allocate() to enforce a minimum
> round-up to an 8-type boundary.
>
> /* Round up to requested alignment */
> if (align_1<7) align_1 = 7; /* <<< HACK */
> size = (size