It doesn't depend on Perl version, it depends on malloc implementation.
In reply to Re^4: Timing of garbage collection by zwon in thread Timing of garbage collection by dd-b