David Vlijmincx3 articles 8,6K
Table of Contents IntroductionBackground InfoWarningThe SetupComparing ApproachesBenchmarkConclusion Introduction In this post, we dive into a more advanced topic: pointer arithmetic in Java. With the introduction of the Foreign Function & Memory API (Panama), we can interact with native memory. Usually, …
- David Vlijmincx
-
Benchmarking and profiling Java with JMH
Table of Contents Introduction: Why JMH?DependenciesCreating your first benchmarkBenchmark modesState managementKeeping the state correctUsing state to create variants.Understanding JMH outputPrevent dead code optimizationsConstant foldingUsing async profiler with JMHBonus: Linux toolsConclusion Introduction: Why JMH? Performance matters in Java applications, but measuring …
- David Vlijmincx
-
Async file IO with Java and io_uring
Table of Contents What is PanamaManaging memoryMaking calls up and downWhat is io_uringSingle read with Java and UringPerformance improvementsTurning pinning into yieldingBringing It All Together When I first started exploring Virtual Threads in Java, I wanted to understand everything about …
- David Vlijmincx