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

Re: sv_grow() and malloc()

Thread Previous | Thread Next
From:
Craig A. Berry
Date:
September 24, 2014 17:32
Subject:
Re: sv_grow() and malloc()
Message ID:
CA+vYcVz+2w4-QN0PHXVmHef7e3fggT9MFQM=8VQ7-NOV62WRTw@mail.gmail.com
On Tue, Sep 23, 2014 at 2:02 PM, Andy Dougherty <doughera@lafayette.edu> wrote:
> On Tue, Sep 23, 2014 at 06:10:45PM +0100, Steve Hay wrote:
>> 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.

OpenVMS Alpha with 32-bit pointers (the default and the only thing
currently supported by Perl):

after   8 bytes realloc() using different address
after  16 bytes realloc() using different address
after  32 bytes realloc() using different address
after  56 bytes realloc() using different address
after  88 bytes realloc() using different address

VMS with 64-bit pointers on Alpha or any pointer size on Itanium:

after  16 bytes realloc() using different address
after  32 bytes realloc() using different address
after  64 bytes realloc() using different address
after 112 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