Architecture for a scalable and user-extensible heap dump analysis tool
Abstract
A heap analyzer that processes a snapshot of the heap contained in a dump file is described. The heap analyzer tool can be configured to relocate the pointers in the dumped heap and allow developers to examine the heap in web browser by presenting markup for displaying a heap object in the browser and rendering pointers in the object as clickable links. When a link is selected, the pointer is followed to another object and markup is generated for rendering that object with its links. Furthermore, callbacks may be provided through an application programming interface (API) to allow developers to furnish their own code for analyzing and displaying their data structures.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 10.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for analyzing a heap, comprising: receiving, from a user, input that specifies a callback routine; storing data that identifies the callback routine specified by the user; loading a dump file into volatile memory, wherein the dump file contains an image of objects that have been dynamically allocated by a process executing in a run-time environment; in response to user input, while the dump file is loaded into the volatile memory, inspecting the data to identify the callback routine specified by the user; issuing a callback to the callback routine to cause the callback routine to perf
- Claim 2Depends on #1
A method according to claim 1 ,
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (4)
- Foote, Bill, "HAT-The Java Heap Analysis Tool," java.net, retrieved from the internet at <https://hat.dev.java.net/doc/README.html>, retrieved on Nov. 7, 2005, 4 pages.
- Livshits, Benjamin, "Finding Memory Leaks in Java with JDeveloper," Computer Science Department, Stanford University, retrieved from the internet at <http://suif.stanford.edu/~livshits/papers/pdf/mem.pdf>, 6 pages.
- O'Hair, Kelly, "HPROF: A Heap/CPU Profiling Tool J2SE 5.0," Sun Developer Network, Nov. 18, 2004, retrieved from the internet at >http://java.sun.com/developer/technicalArticles/Programming/HPROF.html>, retrieved on Nov. 7, 2005, 7 pages.
- Shirazi, Jack, "Tool Report: JProfiler," Java Performance Tuning, Jun. 2002, retrieved from the internet at <http://javaperformancetuning.com/tools/jprofiler/index.shtml>, retrieved on Nov. 7, 2005, 6 pages.