Bug ID: 2517
Summary: Feature Request: Option for sljit_allocate_stack to
use provided allocator
Version: 10.34 (PCRE2)
Dear PCRE2 Team,
If have a question regarding the direct calls to mmap/VirtualAlloc in, e.g.
sljit_allocate_stack. It is not very clear to me why they are needed, as a user
supplied allocator is available.
In my environment, where everything is in shared memory, the current approach
I changed the coding locally to just call SLJIT_MALLOC and everything works
just as fine. Also 500k are not that much memory in 2020 for a normal memory
allocator. No need to bother the operating system.
All the logic simplifies considerably and even the whole "page size" stuff is
not really needed.
Would it be possible to include this via a compile time flag? I could even try
to share my coding.
You are receiving this mail because:
You are on the CC list for the bug.
This message was posted to the following mailing lists: