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 92414 - Tooltip for Allocated Objects column is incorrect
Summary: Tooltip for Allocated Objects column is incorrect
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-12 09:53 UTC by ehucka
Modified: 2015-05-29 12:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2007-01-12 09:53:06 UTC
There are a new column Total alloc. obj. in Memory Liveness Results. I still did
not find any difference between this column and Allocated objects column.

By their names I assume Total allocated objects measures number of allocated
objects since the application start and Allocated objects since application
start or reset results but values in these column are still the same.

Tooltip of Allocated objects column in Live Results contains 'allocated from
this method.' - what method?
Comment 1 Jiri Sedlacek 2007-01-12 10:03:17 UTC
Why do you think that Total Allocated Objects column is new? It's there from 
beginning.

And what's the concrete problem this issue is filed for? Is it about unclear 
tooltip? Or does this column display the same data as Allocated Objects for 
you?
Comment 2 ehucka 2007-01-12 11:23:54 UTC
Oops, I have not worked with it before or forgotten :).
The problem is the unclear reason (tooltip) of these columns. I found out the
Total allocated objects values are different from Allocated objects when there
is Track every N > 1 objects allocations set. 
But if I set e.g. track every 2 object allocations - Total alloc. object values
are not equal 2 * Allocated objects values. So I still do not understand it.
Comment 3 Tomas Hurka 2007-11-07 10:36:00 UTC
Changing target milestone to dev, since NetBeans 6.0 is in high resistance mode.
Comment 4 Alexander Kouznetsov 2007-11-14 17:33:10 UTC
In Memory Liveness profiling mode "Allocated Objects" column has the following tooltip: "Number of all instances of this
class created since the Application start or last Results reset, allocated from this method".

IMO, it should be changed to "Number of allocated instances of this class" or something similar. It should also mention
that only "tracked" classes are counted here. See issue 121925
Comment 5 Tomas Hurka 2009-04-08 12:56:49 UTC
Milestone cleanup: future->next
Comment 6 Jiri Sedlacek 2015-05-29 12:08:14 UTC
Fixed by http://hg.netbeans.org/profiler-main/rev/27172be43d9e.