This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 124466 - allow diff'ing of bytes by allocation stack trace
Summary: allow diff'ing of bytes by allocation stack trace
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker with 1 vote (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-26 22:39 UTC by jn
Modified: 2016-11-09 13:31 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jn 2007-12-26 22:39:00 UTC
If the "record allocation stack traces" feature is enabled, it would be very useful if the "diff" feature (also known as
"liveness comparison", or "compute the difference between two comparable memory snapshots") could be decomposable by
allocation stack trace hierarchy.  This would help tremendously in detecting the source of memory leaks.

For example, every line in the current "Liveness Comparison" window shows a difference in bytes.  In the proposed
feature, every line would have a "+" next to its name, which would drill down into the differences in bytes, by
allocation stack trace paths.

Example:

- char[]                                +1,774,089 bytes
  + java.util.Arrays.copyOfRange(...)     +963,334 bytes
  + java.util.Arrays.copyOf(...)          +634,931 bytes
  + ...
  + ...
Comment 1 Jiri Sedlacek 2016-11-09 13:31:01 UTC
Delta results / compare snapshots work this way in the new profiler.