Visualizations of memory layouts in software programs
Abstract
The disclosed embodiments provide a system that facilitates the execution of a software program. During operation, the system obtains a memory layout for an object instance in a software program, wherein the memory layout includes a set of offsets and a set of allocated sizes of a set of components associated with the object instance. Next, the system uses the memory layout to determine a first memory space occupied by data in the object instance and a second memory space occupied by padding in the object instance. The system then displays a visualization of the memory layout on the computer system, wherein the visualization includes a first graphical distinction between the first memory space and the second memory space.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, comprising: obtaining a memory layout for an object instance in a software program, wherein the memory layout comprises a set of offsets and a set of allocated sizes of a set of components associated with the object instance; using the memory layout to determine, by a computer system: a first memory space occupied by data in the object instance; and a second memory space occupied by padding in the object instance; and displaying a visualization of the memory layout on the computer system, wherein the visualization comprises a first graphical distinction between the first memory space
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (2)
- Mono "Generational GC | Mono", downloaded from http://www.mono-project.com/docs/advanced/garbage-collector/sgen/ on Jan. 18, 2017.
- Openjdk:jol "Code Tools: jol" downloaded from http://openjdkjava.net/projects/code-tools/jol/ on Jan. 18, 2017.