Re:Garbage Collection
by umanwizard on Saturday November 30, 2019 @09:45PM
(#21673480)
Malloc is not a syscall, you're right. But it's a quite complicated funtion, so it wouldn't make sense for the compiler (or linker) to inline it wherever it's called.
[ Parent
| on HN ]
Re:Garbage Collection
by jashmatthews on Sunday December 01, 2019 @12:57AM
(#21674096)
jemalloc is deliberately structured so that the fast path is all inlined and all unlikely paths which would cause it to blow the inlining complexity budget get pushed out.
Re:Garbage Collection
by umanwizard on Sunday December 01, 2019 @03:09AM
(#21674485)
Interesting. I didn't know that, but it sounds plausible.