Production
Running the JVM in containers, sizing the services around AI models and recording what the JVM does with Flight Recorder.
- Java Flight Recorder and JDK Mission Control: recording production safely
How to start, dump and stop JFR recordings with command-line options and jcmd, how the default and profile settings differ, which events answer common questions, and how to read recordings with the jfr tool and JDK Mission Control.
- Keeping AI products affordable: batching, quantisation, caching and the JVM services around the model
How AI products control memory and compute costs with batching, quantisation, KV-cache management, prompt and result caching and smaller models, how to size the Java gateways, retrieval and processing services around a model, and what consumer AI looks like in real estate, fashion, music and travel.
- The JVM in containers: UseContainerSupport, MaxRAMPercentage and a real memory budget
How the JVM detects container memory and CPU limits, what MaxRAMPercentage and its siblings actually do, why a 25% default heap is common, and how to size the heap so the container is not OOM-killed.


