hutchig / open-liberty

Open Liberty is a highly composable, fast to start, dynamic application server runtime environment
http://openliberty.io
Eclipse Public License 2.0
0 stars 0 forks source link

WSByteBuffer Pooling #8

Open hutchig opened 3 years ago

hutchig commented 3 years ago

WSByteBuffer pooling: buffers are pooled in thread local storage for fast allocation and to reduce GC load. WSByteBuffer pooling can not be used by code using Netty

hutchig commented 3 years ago

See also jemalloc, tcmalloc e.g. https://www.programmersought.com/article/7852681784/ https://people.freebsd.org/~jasone/jemalloc/bsdcan2006/jemalloc.pdf https://www.youtube.com/watch?v=RcWp5vwGlYU https://github.com/jemalloc/jemalloc/blob/dev/ChangeLog https://github.com/jemalloc/jemalloc/milestones/4.0.0 https://github.com/netty/netty/issues/3910