http://d.puremagic.com/issues/show_bug.cgi?id=4400
Steven Schveighoffer <schvei...@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |schvei...@yahoo.com AssignedTo|s...@invisibleduck.org |schvei...@yahoo.com --- Comment #1 from Steven Schveighoffer <schvei...@yahoo.com> 2010-06-28 05:52:58 PDT --- If that is the case, I can change it. Where does the spec state the GC must align to 16 bytes? If that isn't stated, should it be? I.e. is there a reason you need 16 byte alignment vs. 8 byte? BTW, the size it must be above is supposed to be PAGESIZE/2, i.e. 2048 bytes. Actually the true size is 2047 because of how I store the length of the block for appending. The reason for doing so has to do with the ability of the GC to append consecutive empty pages to an array pages. I normally store the length of the array at the end of the block, but if I did that, the "end of the block" may change if such an append occurs, which raises the possibility of reading arbitrary data as the length, so I store the length at the beginning of the block. For all blocks <= 2046 bytes, an append that expands the size will do a copy of the data to a new block, so the block length remains correct. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------