~/talk

Diagnosing Problems in Java Applications

TalkinRussianat JPoint 2023 · 2023-04-12..04-19· [java, observability]
links:none on file
slides:none on file

A team built a JDK-based diagnostic module for Java backends to capture and analyze problems under load by periodically dumping thread stacks via the JVMTI interface to files. The module uses only JDK capabilities (configurable via Spring Boot but framework-agnostic), evolved from a complex Java 8 implementation to a simplified post-Java 9 design, and adds features for zero-config operation, flexible settings, JMX/REST control, file rotation, reload protection and error diagnostics to speed up bug localization and fix.

AI-written summary · about

  1. 0:00Introduction
  2. 2:26Hard-to-reproduce bugs
  3. 3:30Hanging services problem
  4. 4:34What is a thread dump
  5. 5:38Manual thread dump
  6. 6:22Automatic heap dumps
  7. 8:50Automation issues
  8. 9:54Programmatic dumps
  9. 10:16Dump methods
  10. 12:03Implementing dumpers
  11. 13:07JVMTI method
  12. 14:13Settings and limits
  13. 15:16Dump monitoring and analysis
  14. 17:24IntelliJ analysis
  15. 18:28Extra module features
  16. 19:53Build system integration
  17. 21:59Settings and rotation
  18. 22:40Found bugs examples
  19. 23:02Deadlock in app
  20. 23:25Slow DNS
  21. 24:09Logger slowdown
  22. 24:55Exception handler bug
  23. 25:59Connection pooling issue
  24. 26:41Thread pool size
  25. 27:02Exception handler flaw
  26. 29:15Q&A
  27. 30:19Performance impact
  28. 31:44Preventive use
  29. 32:48Dump collection
  30. 33:30Security monitoring
  31. 35:18Java agent capability
  32. 36:20Production security
  33. 37:47Deadlock and error rate
  34. 38:30Java Flight Recorder
  35. 40:26Profilers and performance
  36. 41:57Conclusion
~/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.