[PATCH] D100879: [Clang] Propagate guaranteed alignment for malloc and others

Dávid Bolvanský via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 20 20:29:52 PST 2021


xbolva00 added a comment.

Just curious, did you try firefox with malloc? (If you care about the best performance).

“ It also mentions that forcing jemalloc to have 16-byte alignment will significantly slow down its performance.”

It would be interesting to see real world data, like firefox benchmarks. glibc and macOS defaults to 16-byte alignment and I think they have good reasons too.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100879/new/

https://reviews.llvm.org/D100879



More information about the cfe-commits mailing list