develooper Front page | perl.perl5.porters | Postings from September 2014

Re: sv_grow() and malloc()

Thread Previous | Thread Next
From:
Steve Hay
Date:
September 23, 2014 17:10
Subject:
Re: sv_grow() and malloc()
Message ID:
CADED=K7dmtHBVhRV8-Q9EHaPe8WSX6Oc2=XYp-2B0yMo+wtbcw@mail.gmail.com
On 23 September 2014 13:30, Dave Mitchell <davem@iabyn.com> wrote:
> I'd be interested in what people get with that code on other OSes.
>

Windows (all with /MD compile option, which is what perl uses):

VC6/VC10, 32-bit:

after   8 bytes realloc() using different address
after  16 bytes realloc() using different address
after  24 bytes realloc() using different address
after  32 bytes realloc() using different address
after  40 bytes realloc() using different address
after  48 bytes realloc() using different address
after  56 bytes realloc() using different address
after  64 bytes realloc() using different address
after  72 bytes realloc() using different address
after  80 bytes realloc() using different address
after  88 bytes realloc() using different address
after  96 bytes realloc() using different address
after 104 bytes realloc() using different address
after 112 bytes realloc() using different address
after 120 bytes realloc() using different address
after 128 bytes realloc() using different address

VC11/VC12, 32-bit:

after   8 bytes realloc() using different address

VC10, 64-bit:

after  16 bytes realloc() using different address
after  17 bytes realloc() using different address
after  18 bytes realloc() using different address
after  19 bytes realloc() using different address
after  20 bytes realloc() using different address
after  21 bytes realloc() using different address
after  22 bytes realloc() using different address
after  23 bytes realloc() using different address
after  24 bytes realloc() using different address
after  32 bytes realloc() using different address

VC11/VC12, 64-bit:

after  16 bytes realloc() using different address
after  17 bytes realloc() using different address
after  18 bytes realloc() using different address
after  19 bytes realloc() using different address
after  20 bytes realloc() using different address
after  21 bytes realloc() using different address
after  22 bytes realloc() using different address
after  23 bytes realloc() using different address
after  24 bytes realloc() using different address

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About