~/talk

Easing the daily grind with the awesome JDK command line tools

Talkat Øredev 2022 · 2022-11-08..11-10· [devops-and-delivery]
slides:none on file

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

  1. 0:00JDK command line tools intro
  2. 1:49Managing JDKs with SDKMAN
  3. 3:56JShell for quick Java testing
  4. 7:26Run Java source files directly
  5. 9:15Finding JVM flags with VM Options Explorer
  6. 10:18Simplifying Java scripts with JBang
  7. 13:45Serving files with JWebServer
  8. 15:09Monitoring JVM with JPS
  9. 16:31Analyzing thread dumps with JStack
  10. 17:57Controlling JVM with JCmd
  11. 20:02Profiling with JDK Flight Recorder
  12. 25:43Flame graphs with Async Profiler
  13. 28:58Custom JDKs with JLink
  14. 32:35Scanning deprecated APIs with JDeps
  15. 34:43Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.