15, 9 chapters
performance and native
everything.performance
performance and native
measuring honestly, profiling, flame graphs, the CPU underneath, and calling C.
- 15.01measuring performanceaverages lie. percentiles, and coordinated omission.
- 15.02microbenchmarks with JMHdead code elimination ate your benchmark. how to not get fooled.
- 15.03flight recorderJFR events, always-on profiling, and mission control.
- 15.04profiling and flame graphsasync-profiler, safepoint bias, and reading a flame graph.
- 15.05the JVM in containersergonomics, memory limits, and the flags that matter.
- 15.06mechanical sympathycache lines, false sharing, and why arrays beat linked lists.
- 15.07the foreign function and memory apijava 22+call C and manage off-heap memory, safely.
- 15.08jnithe old way to call native code, and why it's being fenced in.
- 15.09the vector apipreviewSIMD from java: one instruction, many lanes.