Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Package Functions | Package Attributes
bloatsoup.Entry Class Reference

An Entry is created for every object in the bloat report. More...

Collaboration diagram for bloatsoup.Entry:
Collaboration graph
[legend]

List of all members.

Public Member Functions

String toString ()

Package Functions

 Entry (String addr, Type type, Object[] refs, CallTree.Node crawl)
void setParents (Vector parents)

Package Attributes

String mAddress
Type mType
Object[] mReferences
CallTree.Node mCrawl
int mCrawlID
int mRefCount
Entry[] mParents
int mTotalSize

Detailed Description

An Entry is created for every object in the bloat report.

Definition at line 60 of file bloatsoup.java.


Constructor & Destructor Documentation

bloatsoup.Entry.Entry ( String  addr,
Type  type,
Object[]  refs,
CallTree.Node  crawl 
) [inline, package]

Definition at line 70 of file bloatsoup.java.

                                                                          {
            mAddress = addr;
            mReferences = refs;
            mCrawl = crawl;
            mCrawlID = crawl.id;
            mRefCount = 0;
            mType = type;
            mTotalSize = 0;
        }

Member Function Documentation

void bloatsoup.Entry.setParents ( Vector  parents) [inline, package]

Definition at line 80 of file bloatsoup.java.

                                        {
            mParents = new Entry[parents.size()];
            parents.copyInto(mParents);
        }

Here is the caller graph for this function:

Definition at line 85 of file bloatsoup.java.

                                 {
            String typeName = mType.mName;
            int typeSize = mType.mSize;
            String typeLink = "<A HREF=\"" + typeName + "_" + typeSize + ".html\">&LT;" + typeName + "&GT;</A> (" + typeSize + ")";
            return ("<A HREF=\"" + typeName + "_" + typeSize + ".html#" + mAddress + "\" onMouseDown='return showCrawl(event,\"" + mCrawlID + "\");'>" + mAddress + "</A> [" + mRefCount + "] " + typeLink + " {" + mTotalSize + "}");
        }

Here is the call graph for this function:


Member Data Documentation

Definition at line 61 of file bloatsoup.java.

Definition at line 64 of file bloatsoup.java.

Definition at line 65 of file bloatsoup.java.

Definition at line 67 of file bloatsoup.java.

Definition at line 66 of file bloatsoup.java.

Definition at line 63 of file bloatsoup.java.

Definition at line 68 of file bloatsoup.java.

Definition at line 62 of file bloatsoup.java.


The documentation for this class was generated from the following file: