HotSpot JVM, 194 MBean
attributes, 54, 55
Attributes tab in JMX viewer, 54 change attributes in JMX viewer, 54 enabling notifications for attributes, 56 filter list of, 53
list of, 53 Notification tab, 56 Operations tab, 55 relational information, 56
tab navigation in JMX viewer, 53
using operations functions in the JMX viewer, 55 measurement
disabled for zero preparation GC data collection, 89 enabled for zero preparation GC data collection, 89
memory
allocation statistics, 48 checking heap allocation, 43 confirming leaks, 43 console use, 100
designating area of interest in JMX viewer, 50 heap monitor, 43
JMX tab, 49
leak detection, 189 leak location, 111 leak possibilities, 156
leak sample application, 33 leak severity, 43
leak window, 110 locating assignment, 52 locating inefficiencies in usage, 68 locating problems, 78, 122, 144 paging, 40
set threshold for expected
spaces, 49 usage, 50
usage fluctuations in heap, 49 usage thresholds in JMX viewer, 50
menu Edit, 97
menus console, 97 Estimate, 140, 156 File, 97, 140 Help, 97, 140 look and feel, 97 Metrics, 31, 140
Metrics →Code/CPU , 140
Monitor, 29
Scope, 140
Sort, 140
Tree, 140
View, 140 visualizer, 140
messages
JMX viewer, 56 method
average exclusive clock times, 143 average exclusive CPU times, 142 average inclusive clock times, 143 average inclusive CPU times, 143 call count, 140
callers, 140 created objects, 145 exceptions thrown, 156 excessive compilation, 46 excessive object allocation, 44 exclusive clock times, 141 exclusive CPU times, 141 helper, 119
high usage, 119 inclusive clock times, 142 inclusive CPU times, 142 locating all lock claims, 154 locating contested lock claims, 154 lock contention, 155
lock delay, 154, 155 looping as an indicator, 144
monitoring CPU time consumed by, 118 starvation, 143
method call count, 68 call graph tree, 141 example usage, 73
method compilation count metrics, 134
method compilation frequency metrics, 135
Method hot spots CPU usage, 39
metrics
access monitoring data for viewing, 103 Allocation Site Statistics, 161 analyzing profile data, 68
Creation Rate, 160 Cumulative Allocation, 159 Current Live Heap Objects, 129 derived, 140, 154
disabled, 99, 140
Duration (Stop the World), 158 enable, 99, 140
garbage collection, 41, 43, 123 garbage collection duration, 124 Glance data, 170
Glance system call data, 174 heap monitor, 43, 122
Heap Usage After GC, 157 how sorted, 68
Java Method HotSpots, 118 load data for viewing, 137 loaded classes, 47, 135 lock contention, 133 menus, 98
method compilation count, 134 method compilation frequency, 135 Multiple
209