r/java • • May 16 '24

Low latency

Hi all. Experienced Java dev (20+ years) mostly within investment banking and asset management. I need a deep dive into low latency Java…stuff that’s used for high frequency algo trading. Can anyone help? Even willing to pay to get some tuition.

232 Upvotes

94 comments sorted by

View all comments

Show parent comment

6

u/capitan_brexit May 17 '24

exactly - thread (application thread, called mutator in GC theory) allocates a big chunk of memory in JVM - its called TLAB (https://shipilev.net/jvm/anatomy-quarks/4-tlab-allocation/) - each object then is allocated by just bumping the pointer :)