Easing the daily grind with the awesome JDK command line tools
summary
Brief demos show actual commands and outcomes: jshell with Loom virtual threads runs short examples inline, jbang temporary project pulls Maven deps and opens a debugable IDE project, JFR recording during 50,000-request ab test produces a .jfr file for analysis. jcmd runs GC and prints class histograms, jstack dumps threads, jwebserver serves files on port 8088, async-profiler samples for 20s to generate flame graphs, and jlink builds a minimal JDK reduced from ~43MB to ~36MB.
AI-written summary · about
chapters (15)
- 0:00JDK command line tools intro
- 1:49Managing JDKs with SDKMAN
- 3:56JShell for quick Java testing
- 7:26Run Java source files directly
- 9:15Finding JVM flags with VM Options Explorer
- 10:18Simplifying Java scripts with JBang
- 13:45Serving files with JWebServer
- 15:09Monitoring JVM with JPS
- 16:31Analyzing thread dumps with JStack
- 17:57Controlling JVM with JCmd
- 20:02Profiling with JDK Flight Recorder
- 25:43Flame graphs with Async Profiler
- 28:58Custom JDKs with JLink
- 32:35Scanning deprecated APIs with JDeps
- 34:43Summary
related talks
32m"Supercharge Your Java Development Experience with Open Source Tools"
37mProgrammer's Guide to JDK Flight Recorder
01h 02mWhat’s new for Java in the Cloud?
50mPerformance: Avoiding Pitfalls, Diagnosing Issues & Scaling for Growth
31mFast and Distroless Java in Containers: the Recipe!
01h 02mJourney to Cloud : Leave No Java Workload Behind
58mEnhancing Java Applications for the Cloud
25mSpeedy build for your java application images with JIB!
