On 11/09/13 15:45, Dmitry Olshansky wrote: > Problem is - said GC-freed memory could be then reused in some way. I can't > imagine how you'd test that the block that is allocated is *still your old* block. Ahh, nasty. I'd assumed that the buffer would have been reset to null in the event that the GC freed its memory.