From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

Implements "Newx" in perlapi which you should use instead.

Implements "Safefree" in perlapi which you should use instead.

Implements "Renew" in perlapi which you should use instead.

Implements "Newxz" in perlapi which you should use instead.

When enabled by compiling with -DDEBUGGING_MSTATS, print out statistics about malloc as two lines of numbers, one showing the length of the free list for each size category, the second showing the number of mallocs - frees for each size category.

s, if not NULL, is used as a phrase to include in the output, such as "after compilation".