[fpc-devel] Making use of mremap

Jonas Maebe jonas at freepascal.org
Sun Aug 18 18:07:00 CEST 2019


On 16/08/2019 22:55, Florian Klämpfl wrote:
> Recently, there was some discussion on problems with memory
> re-allocations. So in r42713 I implemented the use of the mremap syscall
> on linux. It basically means that a memory block is re-allocated with
> the help of the OS if possible. The OS can do this much better as it can
> move memory by just remapping the physical pages at other locations in
> the virtual memory.

I've also added support for Darwin.


Jonas


More information about the fpc-devel mailing list