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

[perl #134237] A Metaconfig probe for malloc_usable_size

Tony Cook via RT
September 19, 2019 04:13
[perl #134237] A Metaconfig probe for malloc_usable_size
Message ID:
On Sun, 30 Jun 2019 01:17:03 -0700, wrote:
> Hi,
> As mentioned on IRC, malloc_usable_size
> ( seems
> to be pretty common amongst Linux and BSD malloc implementations
> nowadays. Metaconfig has a probe for the similar malloc_size on
> Darwin, added in
> Should a probe for malloc_usable_size should have its own file or be
> appended to d_malloc_size.U due to the functional similarity?
> Speculative patches are attached. (Once in, the intention is to add an
> alternative definition to Perl_safesysmalloc_size.)
> xenu pointed out that it would be useful to capture the minimum
> allocation in a variable (e.g. MIN_MALLOC_SIZE). Where would be the
> best place to do so?

This was applied to metaconfig in 57477b42de912c3480c17bf3f43615a2cb7b6fc6:

and in perl in blead as e62a0811bc2b623845ce4994e77bb5f224466c7e.


via perlbug:  queue: perl5 status: new Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About