Kick Out Old Code
summary
Claims a JVM can tell which methods never run by recording first-call method logging at class load (bytecode interpreter, AppCDS or ReadyNow) so teams can diff bytecode vs runtime inventory and delete unused code (example: a personal project shrinks ~50%). Tooling is shipped in Azul JVM via Intelligence Cloud (config: notify first call=true), supports per-application impact queries across deployments, and cuts testing and maintenance for code bases in the hundreds of thousands to millions of lines.
AI-written summary · about
chapters (11)
- 0:00Introduction to old code
- 1:11Maintenance burden in Java
- 6:45Cluttered garage analogy
- 8:52Microservices and code cleanup
- 10:16Dead vs unused code
- 13:26JVM tracking unused code
- 17:57Querying method usage across apps
- 20:26Removing unused tests
- 23:13AI code and future maintenance
- 26:26Reducing code repository size
- 29:39Q&A on large applications
