Table 5-4 Available Metrics or Features from -Xeprofand -agentlib:hprofData (continued)

Feature

-Xeprof

 

-agentlib:hprof

 

 

 

 

 

 

 

 

 

cpu=samples

cpu=times

heap=dump

heap=sites

 

 

 

 

 

 

Inclusive Method CPU Times

Yes

Yes 1,2

Yes 1,2

N/A

N/A

(page 142)

 

 

 

 

 

 

 

 

 

 

 

Inclusive Method Clock

Yes

No

No

N/A

N/A

Times (page 142)

 

 

 

 

 

 

 

 

 

 

 

Threads/Groups Histogram

Yes

Yes 3

Yes 3

Yes 3

Yes 3

Objects Created by Method

Yes 2,4

N/A

Yes 2

No

Yes

(page 145)

 

 

 

 

 

 

 

 

 

 

 

Created Objects (Count)

Yes 2,4

N/A

Yes 2

No

Yes

(page 145)

 

 

 

 

 

 

 

 

 

 

 

Created Objects (Bytes)

No

N/A

N/A

No

Yes

(page 145)

 

 

 

 

 

 

 

 

 

 

 

Live Objects (Count)

No

N/A

N/A

Yes

No

(page 145)

 

 

 

 

 

 

 

 

 

 

 

Live Objects (Bytes)

No

N/A

N/A

Yes

No

(page 145)

 

 

 

 

 

 

 

 

 

 

 

Live Array Sizes (page 145)

No

N/A

N/A

Yes

No

 

 

 

 

 

 

Unfinalized Objects

No

No

No

Yes

No

(page 146)

 

 

 

 

 

 

 

 

 

 

 

Reference Graph Tree

No

N/A

N/A

Yes

No

(page 146)

 

 

 

 

 

 

 

 

 

 

 

Reference Sub-Trees by Size

No

N/A

N/A

Yes

No

(page 146)

 

 

 

 

 

 

 

 

 

 

 

Class Loaders (page 150)

No

No

No

Yes

No

 

 

 

 

 

 

Residual Objects (Count)

No

N/A

N/A

Yes

Yes

(page 152)

 

 

 

 

 

 

 

 

 

 

 

Residual Objects (Bytes)

No

N/A

N/A

Yes

Yes

(page 152)

 

 

 

 

 

 

 

 

 

 

 

Contested Lock Claims by

Yes

No

No

N/A

N/A

Method (page 154)

 

 

 

 

 

 

 

 

 

 

 

All Lock Claims by Method

Yes

No

No

N/A

N/A

(page 154)

 

 

 

 

 

 

 

 

 

 

 

Lock Delay - Method

Yes

No

No

N/A

N/A

Exclusive (page 154)

 

 

 

 

 

 

 

 

 

 

 

Lock Delay - Call Graph Tree

Yes

No

No

N/A

N/A

(page 154)

 

 

 

 

 

 

 

 

 

 

 

Lock Delay - Method

Yes

No

No

N/A

N/A

Inclusive (page 155)

 

 

 

 

 

 

 

 

 

 

 

Average Exclusive Method

Yes

No

Yes 1,2

N/A

N/A

CPU Times* (page 142)

 

 

 

 

 

 

 

 

 

 

 

Average Exclusive Method

Yes

No

No

N/A

N/A

Clock Times* (page 143)

 

 

 

 

 

 

 

 

 

 

 

Average Inclusive Method

Yes

No

Yes 1,2

N/A

N/A

CPU Times* (page 143)

 

 

 

 

 

 

 

 

 

 

 

66 Profiling Applications