LJC Virtual Meetup: No Free Lunch? Memory Allocation in the JVM


Details
***This is a placeholder for the event being run on Eventbrite. Please sign up with your full name at https://www.eventbrite.co.uk/e/ljc-virtual-meetup-no-free-lunch-memory-allocation-in-the-jvm-tickets-125915503661?aff=meetup ***
Ever wondered how memory allocation on the JVM works?
The Java Virtual Machine features many generational garbage collectors that also use pointer bumping for allocation. The combination of these two techniques gives a fast allocation and collection path which has led to a commonly held belief in the Java community that allocation in general is cheap. This talk will challenge that belief by looking at what happens outside of the fast path and considering the impact of even fast path allocation on other parts of the system, such as caches and memory bandwidth.
You will see how optimisations from the JIT can reduce or eliminate many allocations but how reasoning about when these happen can be almost impossible from glancing at code. Examples will introduce you to common problems and tooling you can use to understand the allocation behaviour of your code.
From attending this talk you will understand:
How allocation works in modern JVM Garbage Collectors
Why allocation isn’t necessarily as cheap as it seems
Why the JVM makes it difficult to reason about allocation behaviour by code examination
What kind of tooling you can use to understand the real allocation behaviour of your code
About the speakers
Richard Warburton is the co-founder of Opsian.com and maintainer of the Artio FIX Engine. He has worked as a developer in different areas including Developer Tools, HFT and Network Protocols. He has written the book “Java 8 Lambdas” for O’Reilly and helps developers learn via http://iteratrlearning.com and http://www.pluralsight.com/author/richard-warburton.
Richard is an experienced conference speaker, having spoken at dozens of events and sat on conference committees for some of the biggest conferences in Europe and the USA. He holds a PhD in Computer Science from The University of Warwick.
Sadiq Jaffer is CEO and co-founder of Opsian. He holds a PhD in Autonomous Robotics and has for years consulted multinational companies designing and implementing highly scalable intelligent platforms. His experience has included deep learning systems, embedded platforms, compilers, garbage collectors, desktop and mobile games development.
This event is organised by RecWorks on behalf of the London Java Community.
You can see our latest jobs here: https://recworks.co.uk/java-developer-jobs-london/.
You can see our privacy policy here: http://recworks.co.uk/privacy-policy
Continue the conversation at our Slack Group: https://londonjavacommunity.slack.com
Sign up here if you're not a member: https://bcrw.typeform.com/to/IIyQxd

LJC Virtual Meetup: No Free Lunch? Memory Allocation in the JVM